Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #61852
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <vincent@vincentdavis.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.053 |
| X-Spam-Evidence | '*H*': 0.89; '*S*': 0.00; 'python)': 0.05; 'received:209.85.219': 0.09; 'wrong,': 0.09; 'runs': 0.10; 'python': 0.11; 'question.': 0.14; '8bit%:32': 0.16; 'newsgroups:': 0.16; 'postfix.': 0.16; 'references:': 0.16; '\xc2\xa0you': 0.16; 'wrote:': 0.18; 'app': 0.19; 'basically': 0.19; 'server,': 0.19; 'examples': 0.20; 'to:name:python- list@python.org': 0.22; '"you': 0.24; 'server.': 0.24; '>': 0.26; 'header:In-Reply-To:1': 0.27; 'external': 0.29; 'am,': 0.29; 'dec': 0.30; 'originally': 0.30; 'skip:& 60': 0.30; 'message- id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'went': 0.31; '13,': 0.31; 'initiate': 0.31; 'file': 0.32; 'url:python': 0.33; 'fri,': 0.33; 'guess': 0.33; 'maybe': 0.34; 'received:209.85': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'installing': 0.36; 'smtp': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'received:209': 0.37; 'server': 0.38; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'ability': 0.39; 'does': 0.39; 'subject:': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'matter': 0.61; 're:': 0.63; 'receive': 0.70; 'day': 0.76; 'url:search': 0.81; 'examples.': 0.84; 'mars': 0.84; 'maybe,': 0.84; 'perspective.': 0.84; 'shutdown': 0.84; 'subject:Using': 0.84; 'edwards': 0.91; '2013': 0.98 |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=7TJOoYBOjhxOLC7nFWrQ5Q6TIfEznS2ynghwOnc2Ozk=; b=mE0iDKV/CP444qUzCQtW9OwLELIUmniVkkhRMy27hINDrbMZDTlzS3gyNhP+a4m3S9 zGHciRRA1QHgpNdJT0RKqoTZlOvB3UMpTmuBrAsmbW6eji1w9ZxX4p+E/Av6vj+SZMgy Fza+u178qxIgjn6YKEdeOwlwV0GeUkI9hDilhpe+PmDbTW4CKAhN3XEuZcZ6SNyX4a+R YmJ7x/rRJogytvfzDlh4UthAh6RsMiGKBk4CB1ZZyKIJ/YsX+oiO3Xi0rajMol3W9aeV f4uDxhPZXzurj7slZeZ98SsqQ5iBHiOQe7PSjbeGP5lwSMVCd9wkMPeLJ/WHum5Tzj9i OC4g== |
| X-Gm-Message-State | ALoCoQmS2wp3lDMXzfCIU6X+7xrOURyAMB3UaSeSiszNo1uoEz2iW8KTsSsPsigpNQH5XOjtYOCC |
| X-Received | by 10.60.148.162 with SMTP id tt2mr537369oeb.77.1386954818434; Fri, 13 Dec 2013 09:13:38 -0800 (PST) |
| MIME-Version | 1.0 |
| In-Reply-To | <l8fd9s$ssb$1@reader1.panix.com> |
| References | <mailman.4046.1386908855.18130.python-list@python.org> <l8fd9s$ssb$1@reader1.panix.com> |
| From | Vincent Davis <vincent@vincentdavis.net> |
| Date | Fri, 13 Dec 2013 10:13:18 -0700 |
| Subject | Re: Using pythons smtp server |
| To | "python-list@python.org" <python-list@python.org> |
| Content-Type | multipart/alternative; boundary=047d7b2e3e4045d28d04ed6d95cc |
| X-Mailman-Approved-At | Fri, 13 Dec 2013 19:03:18 +0100 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4087.1386957801.18130.python-list@python.org> (permalink) |
| Lines | 212 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1386957801 news.xs4all.nl 2971 [2001:888:2000:d::a6]:56760 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:61852 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
>
> "You don't send mail using an SMTP server. You receive mail using an
> SMTP server.
> "
>
Um maybe, I guess it is a matter of perspective.
Let me rephrase my question. I want to send an email using python but do
not want to use an external service. Does python have the ability to send
emails without installing additional software or using an external
server/service?
Maybe I am wrong, I thought examples like s = smtplib.SMTP('localhost')
are using a local(outside of python) smtp server, like postfix.
Vincent Davis
720-301-3003
On Fri, Dec 13, 2013 at 9:40 AM, Grant Edwards <invalid@invalid.invalid>wrote:
> On 2013-12-13, Vincent Davis <vincent@vincentdavis.net> 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 <invalid@invalid.invalid>
> Subject: Re: Using pythons smtp server
> References: <mailman.4046.1386908855.18130.python-list@python.org>
> Followup-To:
>
> On 2013-12-13, Vincent Davis <vincent@vincentdavis.net> 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!!
> --
> https://mail.python.org/mailman/listinfo/python-list
>
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Using pythons smtp server Vincent Davis <vincent@vincentdavis.net> - 2013-12-12 18:01 -0700
Re: Using pythons smtp server Grant Edwards <invalid@invalid.invalid> - 2013-12-13 16:40 +0000
Re: Using pythons smtp server Vincent Davis <vincent@vincentdavis.net> - 2013-12-13 10:13 -0700
Re: Using pythons smtp server Chris Angelico <rosuav@gmail.com> - 2013-12-14 05:15 +1100
Re: Using pythons smtp server Vincent Davis <vincent@vincentdavis.net> - 2013-12-13 11:27 -0700
Re: Using pythons smtp server Grant Edwards <invalid@invalid.invalid> - 2013-12-13 20:33 +0000
Re: Using pythons smtp server Chris Angelico <rosuav@gmail.com> - 2013-12-14 05:29 +1100
Re: Using pythons smtp server Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-12-13 19:46 -0500
Re: Using pythons smtp server Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2013-12-14 16:48 +0100
Re: Using pythons smtp server Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-12-14 12:59 -0500
csiph-web