How to sort incoming emails according email content

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How to sort incoming emails according email content (email Body) - Such as a
telephone number or a postcode.

Want to Use a Visual Basic program which opens Outlook and carries out the
above functions.
 
Am Tue, 20 Dec 2005 02:18:02 -0800 schrieb pradeepsomani:

Do you really want to sort by the e-mails body? Or do you have some e-mails
containing telephone numbers, which you´re searching for?
 
Hi Michael Bauer,

i want to build an application in VBA for above topic.

I want to compair incoming email according "Message Body" with all other
emails in inbox and sort incoming email as duplicate email or regular email.

Dublicate email will go to different folder.
- Pradeep
 
You could use a regular expression (I believe in VBA you can import this
from the scripting runtime) that pulls out anything that looks like a phone
number from the message body.

Then keep a dictionary keyed by that phone number which you could use to
filter out dupes.
 
Am Thu, 22 Dec 2005 01:44:01 -0800 schrieb pradeepsomani:

Why don´t you just compare the Body properties? A faster loop through all
items can be done by CDO or Redemption (www.dimastr.com).

If it shall start whenever a new mail arrives than use the Inbox´ ItemAdd
event.
 
Back
Top