Re: [python-win32] mapi.ATTACH_EMBEDDED_MSG

2010-01-11 Thread Laurent Duchesne
Thanks, it's working now :) In case someone wants to know, I will be converting my .eml source file to a message object using this call: IConverterSession::MIMEToMAPI (outlook 2003+) http://msdn.microsoft.com/en-us/library/aa193062(office.11).aspx Since not all calls are available using

[python-win32] mapi.ATTACH_EMBEDDED_MSG

2010-01-06 Thread lduchesne
Hi, I'm tying to embed a mail message in another mail using the following code: [...] imsg = draftFolder.CreateMessage(None, 0) message = outboxFolder.CreateMessage(None, 0) attach = message.CreateAttach(None, 0) attach[1].SetProps([(mapitags.PR_ATTACH_METHOD, mapi.ATTACH_EMBEDDED_MSG),

Re: [python-win32] mapi.ATTACH_EMBEDDED_MSG

2010-01-06 Thread Mark Hammond
On 7/01/2010 6:15 AM, lduchesne wrote: Hi, I'm tying to embed a mail message in another mail using the following code: [...] imsg = draftFolder.CreateMessage(None, 0) message = outboxFolder.CreateMessage(None, 0) attach = message.CreateAttach(None, 0)