Re: [python-win32] mapi - writing to PR_BODY

2009-02-15 Thread Christian K.
Christian K. wrote: > def TextToStream(mapi_object, text): > prop_id = PR_BODY_A > stream = mapi_object.OpenProperty(prop_id, > pythoncom.IID_IStream, > 0, mapi.MAPI_MODIFY) > print stream.Stat(0) > print st

Re: [python-win32] mapi - writing to PR_BODY

2009-02-15 Thread Christian K.
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, i