[python-win32] mapi - writing to PR_BODY

Mark Hammond skippy.hammond at gmail.com
Sat Feb 14 23:04:29 CET 2009


On 14/02/2009 12:56 AM, Christian K. wrote:

> So write seems to work as expected (reporting the right number of bytes)
> but I have no clue *where* the data is written to. The mail body stays
> completely unaffected.

I guess step 1 would be to see if you can re-read it - ie, is the data 
not getting there, or is Outlook etc simply ignoring it?

If the latter; I can't remember the details, but isn't there a flag 
which indicates if PR_BODY, PR_BODY_HTML or some other rich-text related 
property is used?

If also might be worth looking at the "Redemption" tool - IIRC, that 
tool gives you a nice raw internal view of such objects and may let you 
see what is going on a little better...

Cheers,

Mark


More information about the python-win32 mailing list