Connecting to the users preferred email client
Mike Driscoll
kyosohma at gmail.com
Fri Dec 4 08:59:42 EST 2009
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.
-------------------
Mike Driscoll
Blog: http://blog.pythonlibrary.org
More information about the Python-list
mailing list