Email Directly from python
danfolkes at gmail.com
Fri Feb 15 23:24:38 CET 2008
You could always just set up a gmail account and use that SMTP. Thats
what I do. Then all you have to do is google search for "gmail smtp
python" and get some easy code.
You can even send attatchments really easy.
> I'd like to send email directly from within python without having to
> rely on an external smtp server. You know, something like the good, old
> echo My_message | mail -s Subject person at someplace.com
> Can Python do something similar in a portable fashion without a smtp
> server installed on the machine?
More information about the Python-list