win32com: create email message in windows default app?

Bengt Richter bokr at oz.net
Tue Sep 9 00:40:26 CEST 2003


On Mon, 8 Sep 2003 13:51:28 +0200, Harald Massa <cpl.19.ghum at spamgourmet.com> wrote:

>>run the
>>default email application, create a new message, and let me populate it 
>>with subject, body, and attachments?
>
>if you do not need  attachements...
>
>
>import webbrwoser
>
>webbrowser.open("mailto:guido at python.org?subject=PyPy and 
>stacklass&body=please support theses projects")
>
>
That seems to work nicely under NT4 with Python2.3 and Eudora.
And it doesn't send the email (a Good Thing IMO), so it should
be possible to continue in Eudora with more text etc.,
and attach something if desired.

Regards,
Bengt Richter




More information about the Python-list mailing list