Search mail message for text strings

  • Thread starter Thread starter tom001
  • Start date Start date
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.
 
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.
 
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.
 
Back
Top