Connecting to the users preferred email client

Tuomas Vesterinen tuomas.vesterinen at iki.fi
Fri Dec 4 17:57:46 EST 2009


Mike Driscoll wrote:
> On Dec 4, 5:28 am, Tuomas Vesterinen <tuomas.vesteri... at iki.fi> wrote:
>> If I want to open a html-page from Python code I can say:
>>
>>  >>> import webbrowser
>>  >>> webbrowser.open('index.html')
>>
>> Is there a standard way to init an email in users preferred email client
>> like Thubderbird, Evolution etc.?
>>
>> Tuomas Vesterinen
> 
> Check this thread out:
> 
> http://www.megasolutions.net/python/invoke-users-standard-mail-client-64348.aspx
> 
> Basically, the idea is to pass the mailto url to webbrowser.
> 

OK, that's where we are. Thanks.

Tuomas Vesterinen

> -------------------
> Mike Driscoll
> 
> Blog:   http://blog.pythonlibrary.org



More information about the Python-list mailing list