Email Directly from python

Martin P. Hellwig xng at
Thu Feb 14 02:14:03 CET 2008

Guilherme Polo wrote:
> I hope to not disappoint you, but mail will invoke a smtp server to
> send your mail.
I disagree. If you really want to, all you need is telnet. You connect 
to port 25 of the mail server that handles the mail of the domain for 
that mail address and do the helo, mail from, rcpt to, data stuff.

Mail indeed does invoke a smtp server, but strictly speaking only to 
receive it for the user.


More information about the Python-list mailing list