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 w开发者_Python百科ebbrowser 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.
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.
精彩评论