Besides downloading a program thats does it for you...

Does anyone know how to automate a telnet process-

Normally when i speak to the servers you have to hard return after certain entries into the command prompt. Ex:

Telnet xxx.xxx.xxx.xxx 25 (Connects to port 25)
Helo (Hard Return)
Send From:<user@domain.com> (Hard Return)
RCPT TO:<user@domain.com> (Hard Return)
DATA (Hard Return)
blah blah.... (Hard Return)
. (Hard Return)
Quit

Any s***estions?
Thanks