logging SMTPhandler Error

Aahz aahz at pythoncraft.com
Sun Aug 23 09:14:00 EDT 2009


In article <60de8d40-61f4-4ffd-bcef-749bf06675d0 at k19g2000yqn.googlegroups.com>,
Bev in TX  <countryone77 at yahoo.com> wrote:
>On Aug 23, 12:48=A0am, a... at pythoncraft.com (Aahz) wrote:
>>
>> It's also not too difficult to do the moral equivalent with dnspython and
>> find the MX host for the domain you're trying to send e-mail to; that
>> usually does not require an encrypted connection.
>
>Thanks :-).  I'm not sure that I understand exactly what needs to be
>done, but I'll read the documentation and see what I can come up with.

Slightly expanded: most mail servers accept connections from any other
mail server for addresses that are hosted by them.  The MX address for a
domain tells you what mail server hosts that address.  By connecting
directly to the MX, your script is essentially acting as a mail server
itself.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"I support family values -- Addams family values" --www.nancybuttons.com



More information about the Python-list mailing list