[Tutor] Using python's smtp server

Vincent Davis vincent at vincentdavis.net
Fri Dec 13 17:48:36 CET 2013


I have an app that generates a file one a day and would like to email it
using python's SMTP server.
http://docs.python.org/2/library/smtpd.html#smtpd.SMTPServer
The documentation is kinda sparse and I cant seem to find any good examples.

Basically what I want to do; when my app runs it would initiate a SMTP
server, send the attachment and shutdown the SMTP after.

Vincent Davis
720-301-3003
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20131213/eb2fb581/attachment.html>


More information about the Tutor mailing list