Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe

SMTP – Simple Mail Transfer Protocol

By engineersgarage June 23, 2021

SMTP stands for Simple Mail Transfer Protocol. It is a worldwide email transmission standard for receiving email. Mostly, the IMAP (Internet message access protocol) is used. Earlier In the 1960s, one-to-one email communication was used. People used specific mainframe systems in this. As more computers were introduced in the network while the internet was developing, some standards were developed to allow users of the different systems to communicate through email. SMTP was found and grew in the 1970s from one of those standards. 

SMTPFeatures of SMTP
In addition to simply just transferring mail from server to server, SMTP also has some extra features. Some of them are described below.

Mail Relaying: Once SMTP was wildly used to route email from one server to another server before reaching its server. But now emails are transferred directly from sender server to receiver server using DNS MX records (To verify the receiver’s SMTP address)

Mail Forwarding: This is not just forwarding like any other email forwarding, but it’s the ability to transfer mail from any non-local server to an appropriate destination. If a user uses a company’s mailbox and switches to another company, then the company does not allow the user to login to the server, but they forward any incoming email to the user’s personal mailbox.

Address verification: SMTP uses a “verify” command to verify the existence of the email address before sending an email.

Security: SMTP servers support TLS (Transmission layer security) to encrypt the communication channel.

Functioning of SMTP
SMTP works closely like MTA (Mail Transfer Agent). It supports the text/string-based transmission and opens port number 25 on the SMTP server. To generate an email, SMTP first checks the system’s configuration from which the email is generated. When that satisfies the requirement (installation of the server). SMTP uses a technique called forwarding/pushing for sending emails between SMTP servers. It also ensures the delivery of the email. If the email is not delivered, then it returns to the sender.

To understand this, we can divide it into several categories.

  1. Generating email
  2. Identifying email type
  3. Forwarding
  4. Storing the email

1.Generating email: To write an email, a user needs an email client application like a browser (Google Chrome). The user types the mail server address in the URL bar and opens its mailbox. Finally, the mail is written with text and attachments and stored on the mailbox server.

  1. Identifying email type: When the user clicks the send button, the SMTP then comes into action and identifies the email type, since SMTP alone does not support attachments like pictures and document MIME (Multipurpose Internet Mail Extensions) is used as a support to extend the functionality of email, mailbox server adds the MIME header at the beginning of the transmission. Then the header is identified for any media content.

3.Categorization of email data: After identifying email content, SMTP allows the servers (the network computers which handle incoming and outgoing emails) to break the data into categories so the outgoing server can understand how to send the data.

3.Forwarding: After the categorization is done, the SMTP pushes the email data from server to server leaving a temporary copy. When the email is reached to its destination server, it informs the sender of its delivery. Also, the information of each server address is stored in the email header, so spam can also be identified.

4.Storing the email: After the email reaches its destination server address, the email is stored there in the mailbox. The email stays there as long as the user does not delete it. The user can fetch the email using the email client applications. The text/media content is then identified and shown.

When a user wants to send an email (sender) to another user (receiver), Sender generates an email on an SMTP server like Gmail using a web browser. This email is then identified for attachments and media type content and forwarded/pushed to another SMTP server like Yahoo. If a user wants to access that email, the pushed email is stored on the receiver server. POP (Post office protocol) or IMAP can be used to fetch/pull the email.

Application of SMTP
All important email providers use SMTP to transfer emails between servers like Gmail, Yahoo and Apple. SMTP is wildly used in every mail server. The printing server also uses SMTP for cloud-based printing.

You may also like:


  • MQTT Security : IOT Part 16

  • IoT Standards and Protocols: IoT Part 3
  • SMTP
    Using SMTP in the IoT

  • Transport Layer Protocols : IOT Part 9

  • IMAP Protocol- IOT Part 47

Filed Under: Applications, IoT applications, Tech Articles
Tagged With: Simple Mail Transfer Protocol, smtp
 

Next Article

← Previous Article
Next Article →

Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

EE TECH TOOLBOX

“ee
Tech Toolbox: Internet of Things
Explore practical strategies for minimizing attack surfaces, managing memory efficiently, and securing firmware. Download now to ensure your IoT implementations remain secure, efficient, and future-ready.

EE Learning Center

EE Learning Center
“engineers
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


RSS EDABOARD.com Discussions

  • Voltage mode pushpull is a nonsense SMPS?
  • Input impedance matching network
  • High Side current sensing
  • The comparison of different Tcl script checkers
  • Reducing "shoot-through" in offline Full Bridge SMPS?

RSS Electro-Tech-Online.com Discussions

  • Is AI making embedded software developers more productive?
  • Back to the old BASIC days
  • Parts required for a personal project
  • PIC KIT 3 not able to program dsPIC
  • Failure of polypropylene motor-run capacitors

Featured – RPi Python Programming (27 Part)

  • RPi Python Programming 21: The SIM900A AT commands
  • RPi Python Programming 22: Calls & SMS using a SIM900A GSM-GPRS modem
  • RPi Python Programming 23: Interfacing a NEO-6MV2 GPS module with Raspberry Pi
  • RPi Python Programming 24: I2C explained
  • RPi Python Programming 25 – Synchronous serial communication in Raspberry Pi using I2C protocol
  • RPi Python Programming 26 – Interfacing ADXL345 accelerometer sensor with Raspberry Pi

Recent Articles

  • What is AWS IoT Core and when should you use it?
  • AC-DC power supply extends voltage range to 800 V DC
  • Infineon’s inductive sensor integrates coil system driver, signal conditioning circuits and DSP
  • Arm Cortex-M23 MCU delivers 87.5 µA/MHz active mode
  • STMicroelectronics releases automotive amplifiers with in-play open-load detection

EE ENGINEERING TRAINING DAYS

engineering

Submit a Guest Post

submit a guest post
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • Subscribe to our newsletter
  • About Us
  • Contact Us
  • Advertise

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy

Search Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe