tags:

views:

27

answers:

1

I am trying to add the ability to send mails using the default mail client from my python app.

It can be done with the webbrowser module by opening a 'mailto:' URI. But, is there a better and direct way to do this like java's Desktop.mail(URI).

Thanks in advance.

A: 

As far as my research goes, there is no proper solution. We currently use this solution, which is the recipe by Antonio Valentino with a few modifications.

You're interested in the mailto function in that file.

Walter