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

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
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.
 
Back
Top