E-mail Headers

R

Robert Williams

I've done a quick search through the messages here, and can't seem to find
anything on e-mail headers.

I'm looking for a couple different functions.

1) A function that will get the full header information of a selected
e-mail.

2) A function that will check to see of the message body is HTML or Plain
Text, then get the respective message body text.

Thanks in advance!

RW
 
D

Dmitry Streblechenko

1. You will need to read the PR_TRANSPORT_MESSAGE_HEADERS property using
Extended MAPI?CDO 1.21/Redemption.
OOM does not provide access to that property.
Select item(s) can be retrived using Application.ActiveExplorer.Selection
collection

2. MailItem.BodyFormat property (Outlook 2002 and up). Also see
MailItem.HTMLBody and Body properties.

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

Robert Williams

Thanks Dmitry,
That sounds like was I was looking for. I'll give it a try and post a
message back here if it works, or doesn't work.

Thanks again

RW
 

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