开发者

How do I open the default mail program with a subject in Python in a cross-platform way?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜