Simple Mail Transfer Protocol

From WikiMD's Food, Medicine & Wellness Encyclopedia

SMTP-transfer-model

Simple Mail Transfer Protocol (SMTP) is an Internet standard for electronic mail (email) transmission. First defined by RFC 821 in 1982, it was last updated in 2008 with RFC 5321, which is the current version of the protocol. SMTP is used to send and receive email messages between mail servers and from email clients to mail servers.

History[edit | edit source]

SMTP was developed as part of the ARPANET project, which was the precursor to the modern Internet. It was designed to facilitate the transfer of email messages between different systems. The protocol has evolved over time, with various extensions and updates to improve its functionality and security.

Functionality[edit | edit source]

SMTP operates over the Transmission Control Protocol (TCP), typically using port number 25. The protocol follows a client-server model, where the client sends email messages to the server, which then forwards them to the recipient's mail server. SMTP uses a series of commands and responses to facilitate the transfer of messages.

Commands[edit | edit source]

Some of the key SMTP commands include:

  • HELO or EHLO: Initiates the conversation between the client and server.
  • MAIL FROM: Specifies the sender's email address.
  • RCPT TO: Specifies the recipient's email address.
  • DATA: Indicates the start of the message content.
  • QUIT: Terminates the session.

Responses[edit | edit source]

SMTP servers respond to commands with numerical codes and text messages. Common response codes include:

  • 250: Requested mail action okay, completed.
  • 354: Start mail input; end with <CRLF>.<CRLF>.
  • 421: Service not available, closing transmission channel.
  • 550: Requested action not taken: mailbox unavailable.

Security[edit | edit source]

SMTP was not originally designed with security in mind, which has led to various vulnerabilities and issues such as spam and email spoofing. To address these concerns, several extensions and protocols have been developed, including:

Related Protocols[edit | edit source]

SMTP is often used in conjunction with other email protocols, such as:

See Also[edit | edit source]

References[edit | edit source]

External Links[edit | edit source]

Template:Internet-protocol-stub

Wiki.png

Navigation: Wellness - Encyclopedia - Health topics - Disease Index‏‎ - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes

Search WikiMD


Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD

WikiMD is not a substitute for professional medical advice. See full disclaimer.

Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.

Contributors: Prab R. Tumpati, MD