• Subject: MailItem SaveAs
  • Author: Koen Verwimp
  • Date: 19 Sep 2008
  • References:
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
19 Sep 2008MailItem SaveAs.Koen Verwimp
20 Sep 2008\ RE: MailItem SaveAs.Dave Vespa [MSFT]
22 Sep 2008   \ RE: MailItem SaveAs.Koen Verwimp
20 May 2011      \ RE: MailItem SaveAs.Raju
Contact Us
All times are in (US) Eastern Daylight Time (GMT -4:00)