Friday, June 6, 2008

SMTP Commands for Telnet

Ah the joys of testing smtp mail servers. Sometime it's useful to do things by hand.

get into telnet.

issue command : o mailserver 25 (or whatever port)

see header that the mailserver provides
issue command: helo (often required, sometimes not) (sometimes ehlo)

mail from: name@domain.com
rcpt to: whoever@wherever.com
data:
bla bla bla
.

(close with a , period then two enters)

No comments: