Steve Willoughby wrote: > Python comes with an smtplib module which works very well. You say > you want plain text, so just do this: > > import smtplib > > mail = smtplib.SMTP(mailhost_name) > mail.sendmail(from_addr, to_addr, msg) > mail.quit()
One gotcha is that msg must also include From and Two headers. A slightly longer example is here: http://docs.python.org/lib/SMTP-example.html Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor