telnet smtp
2016-07-25 19:24
351 查看
Type telnet 25,and then press ENTER.
Type EHLO , and then press ENTER.
Type AUTH LOGIN. The server responds with an encrypted prompt for your user name.
Enter your user name encrypted in base 64. You can use one of several tools that are available to encode your user name.
The server responds with an encrypted base 64 prompt for your password. Enter your password encrypted in base 64.
Type MAIL FROM:@domain.com>, and then press ENTER. If the sender is not permitted to send mail, the SMTP server returns an error.
Type RCPT TO:@remotedomain.com>,and then press ENTER.If the recipient is not a valid recipient or the server does not accept mail for this domain, the SMTP server returns an error.
Type DATA.
If desired, type message text, press ENTER, type a period (.), and then press ENTER again.
If mail is working properly, you should see a response similar to the following indicating that mail is queued for delivery:
参考: https://technet.microsoft.com/en-us/library/aa995718(v=exchg.65).aspx
###############
Connected to smtp.qq.com.
Escape character is '^]'.
220 **********************************************************
ehlo qq
250-CNSH043634 Hello a [10.10.100.65]
250-SIZE 10485760
250-8BITMIME
250-PIPELINING
250-AUTH LOGIN
250 XXXA
auth login
334 VXNlcm5hbWU6
Y3VpemhpbGlhbmczNDQ= #这位是base64编码后的账号
334 UGFzc3dvcmQ6
Q3psMTEwMTIz #这位是base64编码后的密码
235 Authentication succeeded
MAIL FROM:73xxxxxx@qq.com
250 OK
RCPT TO:xxxx344@qq.com
250 Accepted
DATA
354 Enter message, ending with "." on a line by itself
hehhe
ceshi
.
250 OK id=1bRdmd-0008Qm-Nm
Connection closed by foreign host.
#################
本文出自 “学通信,第一份工作运维” 博客,请务必保留此出处http://cuidehua.blog.51cto.com/5449828/1829789
Type EHLO , and then press ENTER.
Type AUTH LOGIN. The server responds with an encrypted prompt for your user name.
Enter your user name encrypted in base 64. You can use one of several tools that are available to encode your user name.
The server responds with an encrypted base 64 prompt for your password. Enter your password encrypted in base 64.
Type MAIL FROM:@domain.com>, and then press ENTER. If the sender is not permitted to send mail, the SMTP server returns an error.
Type RCPT TO:@remotedomain.com>,and then press ENTER.If the recipient is not a valid recipient or the server does not accept mail for this domain, the SMTP server returns an error.
Type DATA.
If desired, type message text, press ENTER, type a period (.), and then press ENTER again.
If mail is working properly, you should see a response similar to the following indicating that mail is queued for delivery:
参考: https://technet.microsoft.com/en-us/library/aa995718(v=exchg.65).aspx
###############
Connected to smtp.qq.com.
Escape character is '^]'.
220 **********************************************************
ehlo qq
250-CNSH043634 Hello a [10.10.100.65]
250-SIZE 10485760
250-8BITMIME
250-PIPELINING
250-AUTH LOGIN
250 XXXA
auth login
334 VXNlcm5hbWU6
Y3VpemhpbGlhbmczNDQ= #这位是base64编码后的账号
334 UGFzc3dvcmQ6
Q3psMTEwMTIz #这位是base64编码后的密码
235 Authentication succeeded
MAIL FROM:73xxxxxx@qq.com
250 OK
RCPT TO:xxxx344@qq.com
250 Accepted
DATA
354 Enter message, ending with "." on a line by itself
hehhe
ceshi
.
250 OK id=1bRdmd-0008Qm-Nm
Connection closed by foreign host.
#################
本文出自 “学通信,第一份工作运维” 博客,请务必保留此出处http://cuidehua.blog.51cto.com/5449828/1829789
相关文章推荐
- php 后台权限例子 (mysql 数据表)
- Yii框架中使用sphinx搜索及关键字标红
- 快速通道------陈锦松ITPUB博客
- **PDO** php_mysql插入查询排序
- FragmentPagerAdapter实现分页
- phpcms 整合 discuz!
- 使用新浪SAE和PHPthink遇到的坑总结
- phpcms V9 整合 Discuz! X2 教程
- PHP单词
- PHP防注入的函数
- php依赖注入
- php编译参数
- PHP 开发者该知道的 5 个 Composer 小技巧
- Yii2 behavior运用
- php验证码不能显示的原因
- Yii2 验证码
- **PDO** PDO简介
- **PDO** PHP与JSON
- Composer php包管理工具
- php 过滤emoji表情