On Sun, 21 Jul 2013 14:12:55 +0530
Indunil Jayasooriya wrote:
When no MTA is installed, How to send an email with a cronjob?
I usually do this:
import smtplib server = smtplib.SMTP('smtp.gmail.com:587') server.ehlo() server.starttls() server.ehlo() server.login('user@gmail.com', password) server.sendmail(from, to, message_