Outlook VBA tutorial?

M

mikedzikowski

I want to create a custom VBA script that will look at text in an
e-mail, if certain text is contained within an e-mail, an automatic
reponse is sent to a certain users, based on text.

If email contains account number
then send automatic reply

just looking for any advice i can get on this

i would like to do this at the client, not on exchange
 
M

Michael Bauer [MVP - Outlook]

Am 24 Aug 2006 06:43:49 -0700 schrieb (e-mail address removed):

A good point to start at is www.outlookcode.com.

At client side you can use the Inbox´ ItemAdd event. Check the MailItem´s
Body property with the Instr function. For a reply you can call the item´s
Reply function, which returns a new MailItem object.

Note: If a message arrives in Exchange and your Outlook isn´t runnung then
you won´t get any event.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top