mail sending using telnet in python

Piet van Oostrum piet at
Fri Jul 8 10:54:59 CEST 2005

>>>>> praba kar <prabapython at> (PK) wrote:

>PK>       Normally we can send mail using
>PK> telnet in linux. In the following way
>PK> [~user]telnet Ipaddress 25

In fact you are using SMTP through the telnet program. So in Python use
the smtplib module.
Piet van Oostrum <piet at>
URL: [PGP E17999C4]
Private email: piet at

More information about the Python-list mailing list