In article <60de8d40-61f4-4ffd-bcef-749bf0667...@k19g2000yqn.googlegroups.com>, Bev in TX <countryon...@yahoo.com> wrote: >On Aug 23, 12:48=A0am, a...@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 (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "I support family values -- Addams family values" --www.nancybuttons.com -- http://mail.python.org/mailman/listinfo/python-list