[Tutor] Using python's smtp server

Mark Lawrence breamoreboy at yahoo.co.uk
Fri Dec 13 18:07:47 CET 2013


On 13/12/2013 16:48, Vincent Davis wrote:
> 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
>

Please refer to the answer you've already received on the main Python 
mailing list.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence



More information about the Tutor mailing list