View Single Post
  #2  
Old April 19th 06, 09:59 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default Help with VBA and Outlook

All this is definitely possible. This KB article gives a good overview of
what needs to be done:

How to create a custom rule using Visual Basic for Applications (VBA) in
Outlook 2002:
http://support.microsoft.com/default...b;en-us;292063

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"ms" wrote:

Hi,

I'd like to do the following with every email received to a certain Exchange
mailbox:

Verify the domain that the email was sent from. If there is a match, process
it, otherwise autoreply with a message that the email will not be accepted.

The process would be sending a new email to a third address that contains
the original sender's address, and the original body. Each of these items
would need to be enclosed by "{" and "}".

The subject for this email would be the same as the original email's
subject.

Thanks in advance,
RR




Ads