SERVER: SMTP (en)

From OnnoWiki
Jump to navigation Jump to search

SMTP (Simple Mail Transfer Protocol) is one of the most commonly used protocols for sending electronic mail on the Internet. This protocol is used to send data from the sender's electronic mail computer to the recipient's electronic mail server.

This protocol emerged due to the design of the electronic mail system, which requires an electronic mail server to temporarily hold the electronic mail until it is retrieved by the rightful recipient.

Related Protocols

  • POP3 protocol for retrieving electronic mail from a server.
  • IMAP similar to POP3 but with more comprehensive features.

Example Transaction

S = Server
C = Client
C : (connection initialization)
S : 220 Wikipedia ESMTP server ready
C : mail from: user@wikipedia.org
S : 250 mail ok
C : rcpt to: wikipedia@wikipedia.org
S : 250 rcpt ok
C : data
S : 354 end data with CRLF.CRLF
C : -- email data --
C : CRLF.CRLF
S : 250 data ok
C : QUIT
S : 221 bye

External links

Interesting Links