telnet xx.xx.xx.xx 25 # 輸入, telnet 到 25 port
Trying xx.xx.xx.xx…
Connected to xx.xx.xx.xx.
Escape character is ‘^]’.
220 xx.xx.xx.xx ESMTP Service, Version: xx — ready at 01/16/10 01:50:14
ehlo wow   # 輸入,helo 一下
250-home [dd.dd.dd.dd], this server offers 4 extensions
250-AUTH LOGIN
250-SIZE 10485760
250-HELP
250 AUTH=LOGIN # 可以看到它可以使用 login 認證
auth login             # 輸入
334 VXNlcm5hbWU6
Y3Jvc3NAc3NvcmMubmV0   # 輸入,這個是 email 帳號經過base64編碼
334 UGFzc3dvcmQ6
cXdlMTIzNDU=                     # 輸入,這個是 email 密碼經過base64編碼
235 Authenticated            # 認證成功
mail from: cross@wow.wow   # 輸入,寄件者
250 Requested mail action okay, completed
rcpt to:cross@ssorc.tw         # 輸入,收件者
250 Requested mail action okay, completed
data         # 輸入,信件內容開始
354 Start mail input; end with <CRLF>.<CRLF>
From: test@wow.wow      # 輸入,寄件者
To:
cross@ssorc.tw         # 輸入,寄件者
Subject: wow               # 輸入,主旨
123                           # 輸入,信件內容
.                                 # 輸入,結尾

250 Requested mail action okay, completed
quit                        # 輸入,跳出
221 Service closing transmission channel
Connection closed by foreign host.

Related posts 相關文章
Windows Powershell Test-NetConnection 指令測試與遠端主機的連線
More...
nc 指令檢查 UDP port 是否活著
More...
Plesk12 整合了 WordPress、CloudFlare 外,也分成四種 License,還有外掛可用
More...
SMTP 測試工具 swaks – Swiss Army Knife for SMTP
More...

作者

留言

撰寫回覆或留言

發佈留言必須填寫的電子郵件地址不會公開。