Reading mails and parsing in outlook

A

Anushya

Hi
I need to read all the mails in outlook and to parse the Mail body and
to create a chain of mails. For eg if A writes to B and B to A and
then...
Now i need to parse all the mails and chain mails based on replies.
Wot way it can be done?? Doing thru subject line alone is very risky.
I need to do it with a combination of Message id in message headers
and Mail body and Subject.. Mails may come to corporate users from
mail clients like yahoo, hotmail and that has to be taken into
Account.

Pls suggest me all the possible ways..

Thanks
Anushya
 
K

khalifeh

Hey Anushya,
Well I'm assuming you are doing this through access...
i believe if you outlook.MailItem object, then you get access to it
properties, like subject, body, TO, CC and ....

so for example,
Dim newMail as outlook.MailItem
Dim temp
Set newMail = new outlook.MailItem

temp = newMail.Body
then you would have to parse that variable then u can just change th
body again if needed.

Let me know if this helps.

Khalife
 

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