Is there a way to read only internet headers of a mail in outlook?

Hi,

while am trying to read internet headers of a mail in outlook 2010 with below code, it gets me the entire content as well?

XHeader = email.PropertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x007D001F")

October 1st, 2013 1:00am

Hi,

For more resource, I recommend you post it on our Outlook Forum:

http://social.msdn.microsoft.com/Forums/office/en-us/home?forum=officegeneral%2Coutlookdev%2Cvsto%2Cvsto&filter=alltypes&sort=lastpostdesc .

In addition, per what I have searched, when you call GetProperty() you use a DASL-style property tag string, for example to get the mail Internet headers (PR_TRANSPIORT_MESSAGE_HEADERS) you would use the following property tag string (not a URL): "http://schemas.microsoft.com/mapi/proptag/0x007D001F" .

Thanks for understanding.

Regards,

Rebecca

Free Windows Admin Tool Kit Click here and download it now
October 1st, 2013 7:30pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics