OSWikiHK: 請協力 GPLv3 的中文翻譯工作。

SMTP

OSWikiHK,自由中文開源知識庫

Jump to: navigation, search

SMTP 全名 Simple Mail Transfer Protocol ,為 Internet 傳遞電子郵件的協定。

以下是一個典型的 SMTP 交談,顯示 mail.example.com 想傳遞一封電子郵件給 peter@hpot.foo-example.net 時的 SMTP 交談過程:

伺服器 220 mail.hpot.foo-example.net ESMTP Postfix
客端 HELO mail.example.com 客端表明自己的身份
伺服器 250 mail.hpot.foo-example.net
客端 MAIL FROM: <fred@example.com> 寄信人地址
客端 RCPT TO: <peter@hpot.foo-example.net> 收信人地址
客端 DATA 表示將提供電子郵件的內容
客端 Dear Fred,
I would to say hello to you
yours,
Peter
.
提供電子郵件的內容
客端 QUIT 表示要離開。

有關 RFC

  • RFC 821 - Simple Mail Transfer Protocol : 本 RFC 由 Jonathan B. Postel 在1982年8月提交,是最早定義 SMTP 的 RFC 文件。
  • RFC 974 - Mail Routing And The Domain System : 本 RFC 由 CSNET CIC BBN Laboratories Inc 的 Craig Partridge 在1986年1月提交。
  • RFC 1034 - Domain Names - Concepts And Facilities : 本 RFC 由 MSI 的 P. Mockapetris 在1987年11月提交。
  • RFC 1123 - Requirements for Internet Hosts -- Application and Support : 本 RFC 由 R. Braden 在1989年10月提交。
  • RFC 2487 - SMTP Service Extension for Secure SMTP over TLS
  • RFC 2821 - Simple Mail Transfer Protocol : 本 RFC 由 AT&T Laboratories 的 J. Klensin 在2001年4月提交。
  • RFC 2822 - Internet Message Format
  • RFC 2920 - SMTP Service Extension for Command Pipelining
  • RFC 3030 - SMTP Service Extensions for Transmission of Large and Binary MIME Messages
Personal tools