HrGetOneProp for PR_BODY is failing for outlook 2003 for some mail messages.

Jul 7, 2011
Reaction score
When we open certain messages into outlook from desktop, we see that some extra characters are getting introduced in the PR_BODY when we try to view using outlookspy they appear to be box shape.
Now if we try to get the PR_BODY of the message using HrGetOneProp in a std::wstring it throws exception and comes out. Also we have seen this issue happening when these box kind of shapes are in the start of the PR_BODY. When we remove these box like shapes from the PR_BODY (Only at the start of the PR_BODY value) using outlookspy, the HrGetOneProp works fine.
What could be the reason behind this?

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