I am on a Windows 2003 box, it is our last point of exit before mail leaves the environment completely.
Exchange is not installed on this box, but SMTP is.
I want to setup a batch file or something that I can schedule so that I can do a "telnet server 25" and send out a test message from this server.
currently, I am using TST10.exe but I cant get the syntax correctly. It keeps getting stuck on the Sending Subject: part. It never finishes. The text I am using for the tst10.exe /r:script.txt is below.
It seems I dont know how to end the smtp command with the <CRLF>.<CRLF>
send "HELO domain.com\m"
send "mail from:firstname.lastname@example.org\m"
send "rcpt to:email@example.com\m"
wait "354 Start mail input; end with <CRLF>.<CRLF>"
WAIT Connection to host lost.