Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / December 2005

Tip: Looking for answers? Try searching our database.

E-mail Headers

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robert Williams - 22 Dec 2005 18:40 GMT
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
Dmitry Streblechenko - 22 Dec 2005 21:49 GMT
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

> I've done a quick search through the messages here, and can't seem to find
> anything on e-mail headers.
[quoted text clipped - 10 lines]
>
> RW
Robert Williams - 28 Dec 2005 17:01 GMT
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

> 1. You will need to read the PR_TRANSPORT_MESSAGE_HEADERS property using
> Extended MAPI?CDO 1.21/Redemption.
[quoted text clipped - 24 lines]
> >
> > RW
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.