一封郵件可分為 header 與 body,以下為手動 telnet 郵件主機 smtp 服務(25 port)遞送郵件範例,
$ telnet 0 25 Trying 0.0.0.0... Connected to 0. Escape character is '^]'. 220 modify-me.com ESMTP Service(Mail2000 ESMTP Server V6.00) ready Thu, 22 Jun 2017 12:53:29 +0800 (CST) EHLO lab.com 250-modify-me.com 250-PIPELINING 250-8BITMIME 250-AUTH=LOGIN 250-AUTH LOGIN 250 SIZE 20971520 mail from: <test@lab.com> 250 Sender <test@lab.com> OK rcpt to: <amy@test.openfind.com.tw> 250 Recipient <amy@test.openfind.com.tw> OK data 354 Enter mail, end <CRLF>.<CRLF> from: <11111@11111.33333> to: <22222@7777777.9999999> subject: test mail test mail . 250 Message accepted for delivery |
header 部分使用的真實收件帳號為 amy@test.openfind.com.tw
但在 body 使用的收件名稱為 22222@7777777.9999999
而一般 user 在查看信件時,僅能查看到信件 body 的部分(如下圖所示)。