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

Posted by chirag on Stack Overflow See other posts from Stack Overflow or by chirag
Published on 2010-05-12T12:28:17Z Indexed on 2010/05/12 12:34 UTC
Read the original article Hit count: 224

Filed under:
|

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.

© Stack Overflow or respective owner

Related posts about python

Related posts about email