Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #61858

Re: Using pythons smtp server

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.112
X-Spam-Level *
X-Spam-Evidence '*H*': 0.78; '*S*': 0.00; 'intermediate': 0.07; 'received:209.85.219': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'question.': 0.14; 'grant,': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'server,': 0.19; 'not,': 0.20; 'email addr:gmail.com&gt;': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'server.': 0.24; 'cc:2**0': 0.24; '&gt;': 0.26; '(for': 0.26; 'header:In-Reply-To:1': 0.27; 'record': 0.27; 'chris': 0.29; 'external': 0.29; 'am,': 0.29; "doesn't": 0.30; 'dec': 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; '13,': 0.31; 'idea,': 0.31; 'use?': 0.31; 'another': 0.32; 'url:python': 0.33; 'announce': 0.33; 'fri,': 0.33; 'guess': 0.33; 'received:209.85': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; '14,': 0.36; 'in.': 0.36; 'installing': 0.36; 'smtp': 0.36; 'url:listinfo': 0.36; 'next': 0.36; 'shows': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'should': 0.36; 'wrong': 0.37; 'received:209': 0.37; 'being': 0.38; 'sometimes': 0.38; 'server': 0.38; 'gmail': 0.38; 'that,': 0.38; 'ability': 0.39; 'does': 0.39; 'bad': 0.39; 'legitimate': 0.39; 'url:mail': 0.40; 'deliver': 0.61; "you're": 0.61; 'address': 0.63; 'name': 0.63; 'skip:n 10': 0.64; 'pick': 0.64; 'spam.': 0.64; 'account': 0.65; 'to:addr:gmail.com': 0.65; 'yourself': 0.78; 'domain?': 0.84; 'forced': 0.84; 'presumably': 0.84; 'subject:Using': 0.84; '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:cc:content-type; bh=Zd36g+c55u1c6KULuSYeBmwHyGPywKXYvUenvEKUcW4=; b=CsjiywyQ5kLZWmM9tDzLqTjAUn4rrYaGzwLGTJHhkt3nOfF/Kvhp++Rhm4NWcE2QOn IXiS1DRpRniPUJ51Rem9kkgBxuXGDRLOlgd/fYUMDoi3Fp9cWuMicNt9UPFYZIbeoE5S BEVHGw4zTPLTizmO+WraO2DT7/23sjJXMC5p+mxuMOp02SEV3uY1M84iG+r5Usgcsfja gr6/IzlhbOXHObxU6ktkM0cT56/Po1NIst7UutfrinG7cqwmLLxJXFz9/iprPeymTc0b oi3+hyrhKwJKc8U1nJps4XY2PeDmQrXD4mN817W6UtwGBpo3GftciSpaWpWZtu6ar0uM 2Wvg==
X-Gm-Message-State ALoCoQkHOj4kzoyDXXshcnDMQp0PPTiMkAB+s/NeZGqImaqBWy1QQTamBcpmtWg1EpHV7kin0FrA
X-Received by 10.182.92.231 with SMTP id cp7mr896818obb.82.1386959240209; Fri, 13 Dec 2013 10:27:20 -0800 (PST)
MIME-Version 1.0
In-Reply-To <CAPTjJmqY3k4d3tsYG7RoiHWTt8o9J+c8KzG=LYSeuBQN0pKbrQ@mail.gmail.com>
References <mailman.4046.1386908855.18130.python-list@python.org> <l8fd9s$ssb$1@reader1.panix.com> <CALyJZZU5WfT42982yZTFGJ1zy1Q4xzdSrXs0h9wPskdYuug-wA@mail.gmail.com> <CAPTjJmqY3k4d3tsYG7RoiHWTt8o9J+c8KzG=LYSeuBQN0pKbrQ@mail.gmail.com>
From Vincent Davis <vincent@vincentdavis.net>
Date Fri, 13 Dec 2013 11:27:00 -0700
Subject Re: Using pythons smtp server
To Chris Angelico <rosuav@gmail.com>
Content-Type multipart/alternative; boundary=001a11c302ccd4bb5e04ed6e9c30
Cc "python-list@python.org" <python-list@python.org>
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.4091.1386959243.18130.python-list@python.org> (permalink)
Lines 116
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1386959243 news.xs4all.nl 2832 [2001:888:2000:d::a6]:49205
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:61858

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Grant, Chris
Thanks !!!
I guess in the end this is a bad idea, (for my purposes) I should just use
my gmail account smtp server.

Vincent Davis
720-301-3003


On Fri, Dec 13, 2013 at 11:15 AM, Chris Angelico <rosuav@gmail.com> wrote:

> On Sat, Dec 14, 2013 at 4:13 AM, Vincent Davis <vincent@vincentdavis.net>
> wrote:
> > 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?
>
> Any SMTP server you install has to do one of three things with the
> mail you give it:
>
> 1) Accept it locally. Presumably the wrong thing to do here.
> 2) Deliver it to the authoritative SMTP server for the domain.
> 3) Deliver it to an intermediate server.
>
> (Edit: Your next mail shows that you understand that, as looking up
> the MX record is what I was going to say here.)
>
> So if you want to avoid using an external intermediate server, you
> need to find and talk to the authoritative server. Now, this is where
> another big consideration comes in. What envelope From address are you
> going to use? Is your own IP address allowed to send mail for that
> domain? If not, you may be forced to use the legitimate server for
> that domain. There are other concerns, too; if you don't have a nice
> name to announce in the HELO, you might find your mail treated as
> spam. But if you deal with all that, then yes, the only thing you need
> to do is look up the MX record and pick the best server. (And then
> deal with other concerns like coping with that one being down, which
> is the advantage of having a local mail queue. But sometimes that
> doesn't matter, like if you're sending to yourself for notifications.)
>
> ChrisA
> --
> https://mail.python.org/mailman/listinfo/python-list
>

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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