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

Joined
Jul 7, 2011
Messages
2
Reaction score
0
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?
 
Back
Top