[python-win32] MAPI with win32com

2010-03-22 Thread Werner F. Bruhin
I am trying to use MAPI to send an email using win32com, but I get the following exception. from win32com.client import Dispatch s = Dispatch(Mapi.Session) Traceback (most recent call last): File input, line 1, in module File C:\Python25\lib\site-packages\win32com\client\__init__.py, line

Re: [python-win32] MAPI with win32com

2010-03-22 Thread Werner F. Bruhin
On 22/03/2010 12:06, Werner F. Bruhin wrote: I am trying to use MAPI to send an email using win32com, but I get the following exception. from win32com.client import Dispatch s = Dispatch(Mapi.Session) Traceback (most recent call last): File input, line 1, in module File

Re: [python-win32] MAPI with win32com

2010-03-22 Thread Tim Golden
On 22/03/2010 11:22, Werner F. Bruhin wrote: On 22/03/2010 12:06, Werner F. Bruhin wrote: I am trying to use MAPI to send an email using win32com, but I get the following exception. from win32com.client import Dispatch s = Dispatch(Mapi.Session) Traceback (most recent call last): File input,

Re: [python-win32] MAPI with win32com

2010-03-22 Thread Werner F. Bruhin
Tim, Thanks for the quick response. On 22/03/2010 12:26, Tim Golden wrote: On 22/03/2010 11:22, Werner F. Bruhin wrote: On 22/03/2010 12:06, Werner F. Bruhin wrote: I am trying to use MAPI to send an email using win32com, but I get the following exception. from win32com.client import

Re: [python-win32] MAPI with win32com

2010-03-22 Thread Tim Golden
[Tim Golden] the only client which really supports CDO, ie MAPI.Session is the full Outlook client. It's just about possible to use CDO without installing Outlook (by installing some standalone package whose name escapes me) [Werner Bruhin] I found this:

Re: [python-win32] MAPI with win32com

2010-03-22 Thread python
-win32@python.org Date: Mon, 22 Mar 2010 13:40:52 +0100 Subject: Re: [python-win32] MAPI with win32com Tim, Thanks for the quick response. On 22/03/2010 12:26, Tim Golden wrote: On 22/03/2010 11:22, Werner F. Bruhin wrote: On 22/03/2010 12:06, Werner F. Bruhin wrote: I am trying to use MAPI

Re: [python-win32] MAPI with win32com

2010-03-22 Thread King Simon-NFHD78
-Original Message- From: python-win32-bounces+simon.king=motorola@python.org [mailto:python-win32-bounces+simon.king=motorola@python.or g] On Behalf Of pyt...@bdurham.com Sent: 22 March 2010 13:11 To: Werner F. Bruhin; zz Python Win32 Newsgroup Subject: Re: [python-win32

Re: [python-win32] MAPI with win32com

2010-03-22 Thread Tim Golden
On 22/03/2010 13:28, King Simon-NFHD78 wrote: I can't speak for Werner, but I recently had a request from a user of my application for an 'email this project' button on the toolbar, which would create an email message, attach the current project to it, and then allow the user to edit the message

Re: [python-win32] MAPI with win32com

2010-03-22 Thread Mike Driscoll
Hi Werner, snip I found this: http://www.microsoft.com/downloads/details.aspx?FamilyID=E17E7F31-079A-43A9-BFF2-0A110307611Edisplaylang=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

Re: [python-win32] MAPI with win32com

2010-03-22 Thread Werner F. Bruhin
buttons). Werner Malcolm - Original message - From: Werner F. Bruhinwerner.bru...@free.fr To: python-win32@python.org Date: Mon, 22 Mar 2010 13:40:52 +0100 Subject: Re: [python-win32] MAPI with win32com Tim, Thanks for the quick response. On 22/03/2010 12:26, Tim Golden wrote: On 22/03

Re: [python-win32] MAPI with win32com

2010-03-22 Thread Werner F. Bruhin
On 22/03/2010 13:58, Tim Golden wrote: [Tim Golden] the only client which really supports CDO, ie MAPI.Session is the full Outlook client. It's just about possible to use CDO without installing Outlook (by installing some standalone package whose name escapes me) [Werner Bruhin] I found

Re: [python-win32] MAPI with win32com

2010-03-22 Thread Werner F. Bruhin
Newsgroup Subject: Re: [python-win32] MAPI with win32com Werner, I'm not sure I understand the benefit of being locked into the proprietary and awkward MAPI protocol? Why can't you use industry standard SMTP to send your messages? Simpler and more portable. Malcolm I can't speak for Werner

Re: [python-win32] MAPI with win32com

2010-03-22 Thread Werner F. Bruhin
Hi Mike, On 22/03/2010 14:48, Mike Driscoll wrote: Hi Werner, snip I found this: http://www.microsoft.com/downloads/details.aspx?FamilyID=E17E7F31-079A-43A9-BFF2-0A110307611Edisplaylang=en At least I get past the above error, will see how far I get with this. but that still only gives you

Re: [python-win32] MAPI with win32com

2010-03-22 Thread niki
try this (simple mapi with ctypes): http://aspn.activestate.com/ASPN/Mail/Message/ctypes-users/2095322 HTH Niki ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32