How do I create a custom action for a rule? (Save as "Nfy.MSG")

B

BigDaddyHank

If possible, I want to create an outlook email-rule that automatically saves
a .MSG copy of my email. I see there is an option to "perform a custom
action", but I don't know how to create any "custom actions"...
 
K

Ken Slovak - [MVP - Outlook]

A rule custom action is an external DLL file. You probably would be better
off using the run a script action. The "script" is an Outlook VBA public Sub
that has this argument signature:

Sub myScript(Item As MailItem) ' whatever name you want

The incoming email item is passed to that macro, so from there you can just
use the item's SaveAs method.
 

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