SMTP ==== Sending with Python ------------------- :: import smtplib SERVER_ADDRESS = 'mail.example.org' def send(fro, to, subj, msg): x = smtplib.SMTP(SERVER_ADDRESS) x.helo() msg = "Subject: %s\n\n%s" % (subj, msg) x.sendmail(fro, to, msg) x.quit() Sending with Sendmail --------------------- :: sendmail -f sender@example.org recipient@example.org Subject: test Body here .