使用SMTP命令发送邮件

来源:互联网 发布:java final 局部变量 编辑:程序博客网 时间:2024/05/21 16:56

1、开启smtp服务

2、win+R,输入cmd,打开命令窗口后,输入telnet smtp.163.com 25命令与163邮箱建立smtp连接

3、输入以下命令:

//telnet smtp.163.com 25 helo smtpauth loginMTU4MTUxOTA0MjNAMTY......(base64加密过的163帐号)MTIzNDU2N......(base64加密过的163密码)Mail from:<xxx@163.com>Rcpt to:<xxx@qq.com>datasubject:hehehThis email from command line. Cross the GFW, we can reach every corner in the world !.

命令如图:





0 0
原创粉丝点击