Email Directly from python

Martin P. Hellwig xng at xs4all.nl
Wed Feb 13 20:14:03 EST 2008


Guilherme Polo wrote:
<cut>
> I hope to not disappoint you, but mail will invoke a smtp server to
> send your mail.
> 
<cut>
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.

-- 
mph




More information about the Python-list mailing list