近期需要测试一个邮件服务器,先在自己电脑上测试一下。但苦于自己不会用命令行发邮件。怎样用命令行发邮件?网上搜了N多,找不到合适的答案。验证码是怎么回事啊?在哪里输入密码?好像auth login之类的命令不管用。 哪位大侠帮帮忙了,万分感谢
telnet mx0.qq.com 25
220 new68.qq.com MX QQ Mail Server
helo qq.com
250 new68.qq.com
mail from:<mgcc2@qq.com>
250 Ok
rcpt to:<cnhasc@qq.com>
501 Bad address syntax.http://service.mail.qq.com/cgi-bin/help?id=29
rcpt to:<cnhasc@qq.com>
250 Ok
data
354 End data with <CR><LF>.<CR><LF>
subject:mail test
Hi,this is a successful mail.
.
550 Error: mail rejected by antispam server.http://service.mail.qq.com/cgi-bin/h
elp?id=29
原字符 base64编码后的字符
mgcc2@qq.com bWdjYzJAcXEuY29t
abc123 YWJjMTIz
cnhasc@qq.com Y25oYXNjQHFxLmNvbQ==
http://hi.baidu.com/jspboy/blog/item/7cccd3437d37a11073f05dbd.html/cmtid/8417271f7fdef3c6a7866918