[python-win32] mapi - writing to PR_BODY
Christian K.
ckkart at hoc.net
Sun Feb 15 11:58:35 CET 2009
Mark Hammond schrieb:
> 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?
Godd point and in fact the modified text is there when I re-read 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?
Right, spambayes is handling all those cases correctly and I think, that
it should be possible to write the plain body and let outlook do an
internal synchronization of the various formats.
> 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...
I am using outlookspy (by the same author as the redempion tool) to find
out what is going on but had no luck so far.
Christian
More information about the python-win32
mailing list