mail sending using telnet in python

Piet van Oostrum piet at cs.uu.nl
Fri Jul 8 10:54:59 CEST 2005


>>>>> praba kar <prabapython at yahoo.co.in> (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 cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP E17999C4]
Private email: piet at vanoostrum.org



More information about the Python-list mailing list