[Tutor] need to automate connection
Payal Rathod
payal-python at scriptkitchen.com
Tue Apr 25 05:09:24 CEST 2006
Hi,
I need to automate connection to a IP like this. The IP (or domain name)
is taken from command line or from user (whichever is easier for me to
code). It should emulate,
telnet 127.0.0.1 25
mail from: <test at test.com>
250 ok
rcpt to: <support at example.com>
250 ok
quit
Can Python do this for me? How do I start?
With warm regards,
-Payal
More information about the Tutor
mailing list