View Single Post
  #3  
Old February 26th 08, 02:05 AM posted to microsoft.public.outlook.program_vba
tom001
external usenet poster
 
Posts: 2
Default Search mail message for text strings

Thanx Ken.

"Ken Slovak - [MVP - Outlook]" wrote:

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.

--
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


"tom001" wrote in message
...
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.



Ads