You can use the ItemAdd event handler for the Items collection of the Inbox
for that.
Search for "zaphtml" at
www.outlookcode.com for an example of an ItemAdd
handler that converts all HTML emails into plain text emails.
--
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
wrote in message
...
Is there a mechanism that allows developers to set off a VBA macro
upon the receipt of every email?
(Sort of like the out-of-office mechanism but evoking a VBA macro
instead of a new email message.)
Also does someone have an example where this is set up and the VBA
macro
accesses the email content of the message that was received?
I'm using Outlook 2003.
Thanks.