How to set outlook to auto print the email and the attachments

G

Guest

We have several shared mailboxes that we would like to have the new email
printed and the attachements automatically. The attachements can be a
variety of files. Is there a way to program Outlook to do this or something
that we would need as an add-in?
 
K

Ken Slovak - [MVP - Outlook]

If you plan to deploy your code the best way is a COM addin, VBA macros are
usually for personal use and don't scale well for deployment.

You can handle ItemAdd on the Inbox's Items collection, NewMail or NewMailEx
to get incoming items (limited in that a large number of items coming at
once may miss some, so you would have to sweep the Inbox at intervals to see
if anything had missed processing). You can then call the Print method for
the item and save all the attachments to the file system and print them
somehow.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top