What you wrote is totally true except for the fact that Exchange by default
disables automatic forwarding to external sources. That is the reason why I
was wanting code to basically take the email with the specific sender and
text in the body and automatically create a new email and send it out. This
way Exchange doesn't view it as a forward to an outside location.
You can manually send to outside locations, however you can't automatically
forward emails to outside locations without enabling this function. And that
security wise is something I do not want to do.
"Ken Slovak - [MVP - Outlook]" wrote:
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