I\'ve been trying (and failing) to figure out how to send email via Python.
Trying the example from here: http://docs.python.org/library/smtplib.html#smtplib.SMTP
import smtplib content = 'example email stuff here' mail = smtplib.SMTP('smtp.gmail.com', 587) mail.ehlo() mail.starttls() mail.login('email@gmail.com','password') mail.sendmail('email@gmail.com', 'email@yahoo.com', content) mail.close()