注意下面绿色为你要在cmd端输入的内容
(第1步)telnet smtp.qq.com 25
220 smtp.qq.com Esmtp QQ Mail Server
(第2步)helo 192.168.20.11//与qq服务器握手:这个192.168.20.11是你的主机的ip地址,可以通过ipconfig知道
250 smtp.qq.com
(第3步)auth login
334 VXNlcm5hbWU6
(第4步)OTkyMDE0NzE0QHFxLmNvbQ== //我的真实qq邮箱992014714@qq.com的base64编码为OTkyMDE0NzE0QHFxLmNvbQ==
中间可能会出现:530 Error: A secure connection is requiered(such as ssl). More information at h
tp://service.mail.qq.com/cgi-bin/help?id=28 :要求你去qq邮箱的设置-》账户下授权:注意一定要授权成功
请访问:http://service.mail.qq.com/cgi-bin/help?subtype=1&&id=28&&no=1001256
334 UGFzc3dvcmQ6
(第5步)xxxxxx // xxxxxxbase64编码的你的qq真实密码,我就不告诉你了,免得你解码
//实现base64编码和解码的在线工具可以百度
235 Authentication successful
mail from:<992014714@qq.com>
501 Error: malformed authentication response
mail from:<992014714@qq.com>
250 Ok
rcpt to:<1274096233@qq.com>;<1375333986@qq.com>
250 Ok
data
354 End data with <CR><LF>.<CR><LF>
from:<992014714@qq.com>
to:<1274096233@qq.com>;<1375333986@qq.com>
subject:hello,you!
//邮件内容:空一行
my name is zhang lian quan
.//“.”结束
250 Ok: queued as220 163.com Anti-spam GT for Coremail System (163com[20111010])
helo localhost
250 OK
auth login
334 dXNlcm5hbWU6
TWJNMk1EUTNOUQ==
334 UGFzc3dvcmQ6
Y2FzRHNkZXpNdw==
550 用户被锁定
auth login
334 dXNlcm5hbWU6
Y2FzRHNkZXpNdw==
334 UGFzc3dvcmQ6
TWJTZGR3cTNOUQ==
550 用户被锁定
auth login
334 dXNlcm5hbWU6
a2luZGxlbGFpbA==
334 UGFzc3dvcmQ6
MTIzNDU2
535 Error: authentication failed
auth login
334 dXNlcm5hbWU6
cXE5OTIwMTQ3MTQ=
334 UGFzc3dvcmQ6
MTIzNA==
535 Error: authentication failed
auth login
334 dXNlcm5hbWU6
cXE5OTIwMTQ3MTRAMTYzLmNvbQ==
334 UGFzc3dvcmQ6
YTQ5MTQ1ODI=
235 Authentication successful
mail from<qq992014714@163.com>
500 Error: bad syntax
mail from:<qq992014714@163.com>
250 Mail OK
rcpt to:<992014714@qq.com>
502 Error: command not implemented
rcpt to:<qq992014714@163.com>
502 Error: command not implemented
RCPT TO:qq992014714@163@.com
502 Error: command not implemented
rcpt to:<qq992014714@163.com>
250 Mail OK
rcpt to:<992014714@qq.com>
250 Mail OK
data
354 End data with <CR><LF>.<CR><LF>
from:<qq992014714@163.com>
to:<992014714@qq.com>
subject:hello,992014714@qq.com
my name is zhang lian quan ,hello, everyone!
.
250 Ok: queued as