You can certainly write code for that but it probably would be much easier
for you to just create a rule to do that. Start with a blank rule and select
the conditions for certain senders and specified text in the subject, then
select the forward action for the rule.
--
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
"TerryM" wrote in message
...
I have an question, I'm relatively new to VBA coding. Especially in
Outlook,
I am running an Exchange 2003 server using Outlook 2003 clients.
What I am needing is code that will run when a specific sender sends an
email to me with a specific (text) in the body of the email. I then want
it
forward/email to an outside email recipient.
I am aware that you can activate automatic email forwarding in the
Exchange
server, however I view this as a major security risk.
Any assistance would be greatly welcomed