Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news.linkpendium.com!news.linkpendium.com!panix!not-for-mail From: Grant Edwards Newsgroups: comp.lang.python Subject: Re: Using pythons smtp server Date: Fri, 13 Dec 2013 16:40:28 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 41 Message-ID: References: NNTP-Posting-Host: dsl.comtrol.com X-Trace: reader1.panix.com 1386952828 29579 64.122.56.22 (13 Dec 2013 16:40:28 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Fri, 13 Dec 2013 16:40:28 +0000 (UTC) User-Agent: slrn/1.0.1 (Linux) Xref: csiph.com comp.lang.python:61834 On 2013-12-13, Vincent Davis wrote: > I have an app that generates a file one a day and would like to email it > using pythons SMTP server. You don't send mail using an SMTP server. You receive mail using an 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. Newsgroups: comp.lang.python From: Grant Edwards Subject: Re: Using pythons smtp server References: Followup-To: On 2013-12-13, Vincent Davis wrote: > I have an app that generates a file one a day and would like to email > it using pythons SMTP server. You don't send mail using an SMTP server. You receive mail using an SMTP server. You send mail using an SMTP client. > 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. https://www.google.com/search?q=python+send+email+smtp -- Grant Edwards grant.b.edwards Yow! The PINK SOCKS were at ORIGINALLY from 1952!! gmail.com But they went to MARS around 1953!!