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 method to the
>> mail body, i.e. whether the body should be retrieved via GetProp or via
>> streaming.
> 
> That seems strange - the Write method on that interface used to
> unconditionally return None and now it unconditionally returns an integer.

I will check that again.

> 
> I'm afraid I'm missing the point then.  You referenced SpamBayes and it
> fetches the body text of each new mail as it arrives - why is that
> scheme not working for you?

Actually I am using the spambayes routines to read the body but I cannot
find a way to write it back to the message. Writing e.g. the subject is
much easier as I only have to call SetProps followed by SaveChanges.

Christian



_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to