Thread: MailItem SaveAs
View Single Post
  #1  
Old September 19th 08, 10:42 PM posted to microsoft.public.outlook.program_addins
Koen Verwimp
external usenet poster
 
Posts: 26
Default MailItem SaveAs

Hello,

When I save a mail to MSG file programmatically with SaveAs on MailItem, I
can't read the PR_BODY property afterwards. I tried also with Outlook Spy to
read that propery, but the PR_BODY property is empty. Opening the MSG file in
outlook displays the body, but can't the property PR_BODY property.

After dragging it into my Inbox again, PR_BODY is filled again. The binary
format is also not the same if I save the mail as MSG programmatically versus
File-Save in Outlook. After saving the mail via File-Save in outlook ...
the PR_BODY is available.

What is happening here with SaveAs programmatically?

thanks,
Koen

Ads