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: 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: References: From: Vincent Davis Date: Fri, 13 Dec 2013 10:13:18 -0700 Subject: Re: Using pythons smtp server To: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 --047d7b2e3e4045d28d04ed6d95cc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > > "You don't send mail using an SMTP server. You receive mail using an > SMTP server. > =E2=80=8B"=E2=80=8B > Um maybe, I guess it is a matter of perspective. Let me rephrase my question. =E2=80=8B=E2=80=8BI want to send an email usin= g 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 =3D smtplib.SMTP('localhost') =E2=80=8B=E2=80=8B are using a local(outside of python) smtp server, like p= ostfix. Vincent Davis 720-301-3003 On Fri, Dec 13, 2013 at 9:40 AM, Grant Edwards wro= te: > On 2013-12-13, Vincent Davis wrote: > > > I have an app that generates a file one a day and would like to email i= t > > 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=3Dpython+send+email+smtp > > -- > Grant Edwards grant.b.edwards Yow! The PINK SOCKS we= re > at ORIGINALLY from 1952!! > gmail.com But they went to MARS > around 1953!! > -- > https://mail.python.org/mailman/listinfo/python-list > --047d7b2e3e4045d28d04ed6d95cc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
"You don't send mail using an SMTP server. =C2= =A0You receive mail using an
SMTP server.
=E2=80=8B"=E2=80=8B
=

Um maybe, I guess it is a matter of perspective.

=
Let me rephrase my question. =E2=80=8B=E2=80=8BI want to send an email usin= g python but do not want to use an external service. Does python have the a= bility to send emails without installing additional software or using an ex= ternal server/service?
Maybe I am wrong, I thought examples like s =3D smtplib.SMTP('localhost')
=E2=80=8B=E2=80=8B are using a local(outside of python) smtp server, like p= ostfix.




Vincent Davis
720-301-3003<= /span>


On Fri, Dec 13, 2013 at 9:40 AM, Grant E= dwards <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. =C2=A0You receive mail = using an
SMTP server.

> http://docs.python.org/2/library/smtpd.html#smtpd.SMTP= Server
> The documentation is kinda sparse and I cant seem to find any good exa= mples.
>
> 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<= br> > it using pythons SMTP server.

You don't send mail using an SMTP server. =C2=A0You receive mail = using an
SMTP server. =C2=A0You send mail using an SMTP client.

> http://docs.python.org/2/library/smtpd.html#smtpd.SMTP= Server
> The documentation is kinda sparse and I cant seem to find any good exa= mples.
>
> 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=3Dpython+send+email+smtp<= /a>

--
Grant Edwards =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 grant.b.edwa= rds =C2=A0 =C2=A0 =C2=A0 =C2=A0Yow! The PINK SOCKS were
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 at =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 ORIGINALLY from 1952!!
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
gmail.com =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0But they went to= MARS
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0around 1953!!
--
https://mail.python.org/mailman/listinfo/python-list

--047d7b2e3e4045d28d04ed6d95cc--