[python-win32] MAPI with win32com

Mike Driscoll mdriscoll at co.marshall.ia.us
Mon Mar 22 14:48:49 CET 2010


Hi Werner,

<snip>
> I found this:
> http://www.microsoft.com/downloads/details.aspx?FamilyID=E17E7F31-079A-43A9-BFF2-0A110307611E&displaylang=en 
>
>
> At least I get past the above error, will see how far I get with this.
>  but that still only gives you access to Exchange, not to
>> whatever interface TB exposes.
> Clients and me using TB are fine, I support that with the 
> simplemapi.py (http://www.johnnypops.demon.co.uk/python/simplemapi.py) 
> and it works fine, but clients who use Outlook (e.g. Office 11) get a 
> MAPI error 2 (failure).
>>
>> TJG
>
> I don't want to use Outlook, but I like to provide an additional way 
> of sending problem reports from within my application to me (MAPI, 
> smtplib), so hoped that I could use extended MAPI stuff.
>
> I guess I just have to get my hands onto an Outlook to be able to test 
> this stuff.
>
>
> Werner
>
>

I found this recipe: http://code.activestate.com/recipes/149461-mapi-send/

Since we dropped Exchange in favor of Zimbra, I cannot test this 
solution, but maybe it will help you. By the way, is smtplib not working 
for you?

-- 
*Mike Driscoll*

Blog: http://blog.pythonlibrary.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20100322/c58e53a8/attachment-0001.html>


More information about the python-win32 mailing list