Search mail message for text strings

T

tom001

Hi,
I have to manage a number of appliances on the network each with ports, and
cryptic error codes for each one ... which send me smtp error messages..
Is there any code that I can put into a macro to search for several
different strings in the mail message when it arrives? And match these error
codes up with ones on a spreadsheet? Otherwise I can just kick off a prog to
search an indexed file... but I don't know how to create the above
client-based alert in outlook 2003, SP2. on Xp.
thanx, Tom.
 
K

Ken Slovak - [MVP - Outlook]

Go to www.outlookcode.com and search for ZAPHTML. That has an example of an
ItemAdd handler for items added to the Inbox. Modify that code to search
each item that comes in for the text you want in the Body property of each
item.
 
T

tom001

Thanx Ken.

Ken Slovak - said:
Go to www.outlookcode.com and search for ZAPHTML. That has an example of an
ItemAdd handler for items added to the Inbox. Modify that code to search
each item that comes in for the text you want in the Body property of each
item.
 

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