Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #61858
| 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 | 2013-12-13 11:27 -0700 |
| Subject | Re: Using pythons smtp server |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4091.1386959243.18130.python-list@python.org> (permalink) |
[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 | 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