Discuz! Board

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 2309|回复: 2
打印 上一主题 下一主题

smtp常用命令测试

[复制链接]

697

主题

1142

帖子

4086

积分

认证用户组

Rank: 5Rank: 5

积分
4086
跳转到指定楼层
楼主
发表于 2017-12-8 11:00:36 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
  1. $ swaks --to firemail.wang@qq.com --from firemail.wang@qq.com
  2. === Trying mx3.qq.com:25...
  3. === Connected to mx3.qq.com.
  4. <-  220 newmx114.qq.com MX QQ Mail Server
  5. -> EHLO hechengjin-deepin
  6. <-  250-newmx114.qq.com
  7. <-  250-SIZE 73400320
  8. <-  250-STARTTLS
  9. <-  250 OK
  10. -> MAIL FROM:<firemail.wang@qq.com>
  11. <-  250 Ok
  12. -> RCPT TO:<firemail.wang@qq.com>
  13. <-  250 Ok
  14. -> DATA
  15. <-  354 End data with <CR><LF>.<CR><LF>
  16. -> Date: Fri, 08 Dec 2017 10:28:32 +0800
  17. -> To: firemail.wang@qq.com
  18. -> From: firemail.wang@qq.com
  19. -> Subject: test Fri, 08 Dec 2017 10:28:32 +0800
  20. -> Message-Id: <20171208102832.010808@qq.com>
  21. -> X-Mailer: swaks v20170101.0 jetmore.org/john/code/swaks/
  22. ->
  23. -> This is a test mailing
  24. ->
  25. -> .
  26. <-  250 Ok: queued as
  27. -> QUIT
  28. <-  221 Bye
  29. === Connection closed with remote host.
复制代码
回复

使用道具 举报

1272

主题

2067

帖子

7962

积分

认证用户组

Rank: 5Rank: 5

积分
7962
沙发
发表于 2023-11-30 17:18:00 | 只看该作者
220 localhost richmail system v10(2ee1656039d8076-00076)
EHLO DESKTOP-JNLPN9A
250-mail
250-STARTTLS
250-X-PART
250-PIPELINING
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250 8BITMIME
AUTH LOGIN
334 dXNlcm5hbWU6
YTAzQGNoaW5hbW9iaWxlLmNvbQ==
334 UGFzc3dvcmQ6
MjAxMEI0NEMxNTMyNUZBNjBCMDA=
235 Authentication successful
MAIL FROM: <a03@chinamobile.com>
250 ok
RCPT TO: <a03@chinamobile.com>
250 ok
DATA
354 end with .
Date: Wed, 29 Nov 2023 14:29:52 +0800
From: "a03@chinamobile.com" <a03@chinamobile.com>
To: a03 <a03@chinamobile.com>
Subject: 1111
X-Priority: 3
X-GUID: 8677575B-4088-407A-A774-C8F6FF112401
X-Has-Attach: no
X-Mailer: Foxmail 7.2.25.213[cn]
Mime-Version: 1.0
Message-ID: <2023112914295185667815@chinamobile.com>
Content-Type: multipart/alternative;
        boundary="----=_001_NextPart676854461312_=----"

This is a multi-part message in MIME format.

------=_001_NextPart676854461312_=----
Content-Type: text/plain;
        charset="us-ascii"
Content-Transfer-Encoding: base64

DQoxMWhpbmFtb2JpbGUuY29tMTExMQ0KDQoNCmEwM0BjaGluYW1vYmlsZS5jb20NCg==

------=_001_NextPart676854461312_=----
Content-Type: text/html;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charse=
t=3Dus-ascii"><style>body { line-height: 1.5; }body { font-size: 14px; fon=
t-family: "Microsoft YaHei UI"; color: rgb(0, 0, 0); line-height: 1.5; }</=
style></head><body>=0A<div><span></span><br></div>=0A<div><span style=3D"f=
ont-family: verdana; font-size: 13.3333px;">11hinamobile.com1111</span></d=
iv><hr style=3D"width: 210px; height: 1px;" color=3D"#b5c4df" size=3D"1" a=
lign=3D"left">=0A<div><span><div style=3D"MARGIN: 10px; FONT-FAMILY: verda=
na; FONT-SIZE: 10pt"><div>a03@chinamobile.com</div></div></span></div>=0A<=
/body></html>
------=_001_NextPart676854461312_=------

.
250 ok
QUIT
221 localhost richmail system closing transmission channel


回复 支持 反对

使用道具 举报

1272

主题

2067

帖子

7962

积分

认证用户组

Rank: 5Rank: 5

积分
7962
板凳
发表于 2023-12-4 10:25:38 | 只看该作者
基于服务端返回,走SM9流程


回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|firemail ( 粤ICP备15085507号-1 )

GMT+8, 2024-11-26 05:10 , Processed in 0.062094 second(s), 21 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表