C: \ Windows> Telnet
Microsoft Telnet> open 10.103.1.4 25
220 xxx.com.cn Microsoft esmtp mail Service, Version: 6.0.20.0.3959 ready at Fri, 21 Oct 2011 12:50:04 + 0800
EHLO
250-xxx.com.cn Hello [10.103.4.57]
250-TURN
December 250-SIZE
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-X-EXPS GSSAPI NTLM LOGIN
250-X-EXPS = LOGIN
250-AUTH GSSAPI NTLM LOGIN
250-AUTH = LOGIN
250-X-LINK2STATE
250-XEXCH50
250 OK
AUTH LOGIN
334 VXNlcm5hbWU6
D3FlcnA = // user name, base64-encoded
334 UGFzc3dvcmQ6
D3FlcnAxMjM = // password, encoded in base64
235 2.7.0 Authentication successful.
Mail from: <xxx@xxx.com.cn> // MAIL address
250 2.1.0 xxx@xxx.com.cn... Sender OK
Rcpt to: <xxx@xxx.com.cn> // mail recipient address
250 2.1.5 xxx@xxx.com.cn
DATA // email content
354 Start mail input; end with <CRLF>. <CRLF>
This is a smtp mail.
.
250 2.6.0 <WQMS01HIUv9nDqUV4qU000009e6@xxxcom.cn> Queued mail for delivery
QUIT
Microsoft Telnet> close
Microsoft Telnet> quit