Simple Mail Transfer Protocol

From WikiMD.com Medical 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

WikiMD
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's Wellness Encyclopedia

Let Food Be Thy Medicine
Medicine Thy Food - Hippocrates

Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates, categories Wikipedia, licensed under CC BY SA or similar.

Contributors: Prab R. Tumpati, MD