Possible Duplicate:
Receive and send emails in python
I’ve been looking into sending mail with python and found a few different options (setting up my own mailserver, using gmail’s smtp, etc) but was wondering if there was some simple way to do it. I am running the python script via wsgi on apache2 on an ubuntu box. Thanks for any tips!
There’s a great example here. As you seem to know, you’ll just need an smtp server to do the actual sending. That particular step is not dependent on python.
If g-mails smtp server let’s you send mail, I’d go that route. When I last set this up (for an svn backup script), I luckily got to use my company’s smtp server.