Automated/scripted Telnet Session using built-in windows telnet.

G

Guest

I basically want to send a preformatted email using telnet. I can do this
using the builtin windows telnet and manually typing in each command. However
I can not seem to find a way to automate the telnet session. I just want it
to follow a relatively rigid smtp send-email operation but the built-in
windows telnet doesn't appear to have the ability to be run in any automated
fashion. I realize that there are probably other Telnet softwares out there
that can automate things, however I'm looking to deploy this to multiple
users - and I don't want them to have to install any custom software just to
do a simple email-send operation. I was trying to take advantage of winsock
activex control or something, but contrary to what I was originally lead to
believe, it isn't a default windows control.

In short, does anyone know of anyway to... via commandline, issue an smtp
send-email command in some sort of automated way? I was hoping to just pass
some commandline variables to the telnet.exe but it doesn't appear to support
any such extended arguments.

Thanks for reading.
 
G

Guest

Have a look-around for Teraterm. It's an ancient 16-bit telnet program, but
has a good script ing language. I still use it to autoconfig routers
occasionally.

I think you could also do this using the sockets commands of the latest
AutoIt release. More flexible but possibly more groundwork.
 
G

Guest

Will do - thanks very much for the reply and suggestion. Unfortunately these
I assume are not available to users unless they install it which is the main
thing I'm trying to avoid. It looks though that I may not have a choice
though ;/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Can't close telnet windows 1
Telnet session ANSIW 3
Telnet blocked 2
programmatic telnet session 3
Telnet server does not keep processes running 3
telnet to localhost 1
closing telnet port 23... 1
batch telnet. 4

Top