Manually, I can do the following from Windows CMD,
telnet smtp.server 25
MAIL FROM:<Test@domain.com>
RCPT TO:<Test2@domain.com>
data
message
.
quit
And It's working Normally but I am trying to automate this via windows batching, IT's easy to do this via shell Scripting on Linux, But in windows batching I found many troubles to make this kind of interactive scripts.
Do you've Suggestions ?