2014-11-27

Telnet登入SMTP command指令


$telnet localhost 25

$EHLO z-win.com

$AUTH LOGIN

##online Base64 encoder 編碼帳密各別輸入
##出現Authentication successful 表示登入成功

$ MAIL FROM: sender@example.com

$ RCPT TO: recipient@example.com

$ DATA

$ FROM: sender@example.com

$ TO: recipient@example.com

$ Subject: Hi, this is a test