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
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
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
Mark Hammond schrieb:
On 13/02/2009 2:35 AM, Christian K. wrote:
Mark Hammond schrieb:
tuations, where write indeed did return the number of bytes
written, again without any change on the body. My understanding of mapi
is very basic but this seems to have to do with the access method to the
ma
Mark Hammond wrote:
> On 13/02/2009 2:35 AM, Christian K. wrote:
>> Mark Hammond wrote:
>> And I had situations, where write indeed did return the number of bytes
>> written, again without any change on the body. My understanding of mapi
>> is very basic but this seems to have to do with the access
On 13/02/2009 2:35 AM, Christian K. wrote:
Mark Hammond schrieb:
On 8/02/2009 7:06 PM, Christian K. wrote:
write should return the number of bytes written but it returns None
here.
It appears Roger fixed this on 2007/08/07 and the fix was in builds
211 and 212.
I suppose I am using a recent
Mark Hammond schrieb:
On 8/02/2009 7:06 PM, Christian K. wrote:
write should return the number of bytes written but it returns None
here.
It appears Roger fixed this on 2007/08/07 and the fix was in builds 211
and 212.
I suppose I am using a recent build - where can I find the version
info
On 8/02/2009 7:06 PM, Christian K. wrote:
write should return the number of bytes written but it returns None
here.
It appears Roger fixed this on 2007/08/07 and the fix was in builds 211
and 212.
Cheers,
Mark
___
python-win32 mailing list
python-
Hi,
according to
http://msdn.microsoft.com/en-us/library/cc839695.aspx
writing to the PR_BODY property of a mapi message should be done more or
less like the following:
def TextToStream(mapi_object, text):
prop_id = PR_BODY_A
stream = mapi_object.OpenProperty(prop_id,