Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / March 2009

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BigDaddyHank - 23 Mar 2009 21:50 GMT
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"...
Ken Slovak - [MVP - Outlook] - 24 Mar 2009 14:37 GMT
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.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm

> 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"...
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.