RE: Send message in batch mode via telnet

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Tom Lavedas (tlavedas_at_hotmail.remove.com)
Date: 09/23/04


Date: Thu, 23 Sep 2004 11:15:07 -0700

The telnet client provided by Windows is NOT scriptable (except in the nost
kludgy of ways). I would suggest finding a replacement client on the web
somewhere. I don't have any suggestions, other than to suggest a google
search.

Tom Lavedas
============

"DosProgrammer" wrote:

> Need help in inputting the telnet command (HALO,MAIL FROM: RCPT TO: etc) with
> in a DOS Batch File. Did get process to work interactively but need help
> with creating it in a batch file format. Have tried creating a batch file
> and redirecting telnet command with no sucess.
> ex. telnet server.domain 25 < cmdfile
>
> the cmdfile contain the HALO, MAIL FROM:, RCPT TO: commands. Thanks in
> advance.
>