C:\Windows>Telnet
Microsoft Telnet>open 10.103.1.4 25
220 xxx.com.cn Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959 ready at Fri, 21 Oct 2011 12:50:04 +0800
EHLO
250-xxx.com.cn Hello [10.103.4.57]
250-TURN
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= // 用户名,用base64编码
334 UGFzc3dvcmQ6
d3FlcnAxMjM= //密码,用base64编码
235 2.7.0 Authentication successful.
MAIL FROM: <xxx@xxx.com.cn> //邮件发送地址
250 2.1.0 xxx@xxx.com.cn....Sender OK
RCPT TO:<xxx@xxx.com.cn> //邮件接收地址
250 2.1.5 xxx@xxx.com.cn
DATA //邮件内容
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