How do i store senders e-mail as soon a new mail arrives

A

Anvoice

Gurus,
I am a novice with outlook vba. Need your help to accomplish the following
I want to store (a)sender's e-mail (b)subject (c)senders phone number in an
excel file as soon as a new mail arrives in my inbox.
How can i do this?
The phone number is with in the body of the e-mail, which i need to scan and
parse.

Thanks for your help.

Regards,
anovice
 
D

Dmitry Streblechenko

a - MailItem.SenderEmailAddress property
b - MailItem.Subject property
c - It is up to you how you parse the message boxy (MailItem.Body)

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

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