SlideShare a Scribd company logo
2
Most read
3
Most read
6
Most read
Simple mail transfer protocol
Overview
• Introduction to SMTP
• History of Smtp
• General features of SMTP
• Sendmail
• Relays And Gate ways
• How SMTP works
• Limitations in SMTP
• Example of SMTP
3
4
Composes, reads,
replies to
,forwards and
handles mailboxes
Transfers mails
from one host to
another
Collects mail
and delivers to
user agent
Transfers mails
from one host to
another
Collects mail
and delivers to
user agentIntroduction…
Introduction to SMTP
• SMTP is an Internet standard for electronic mail.
• SMTP is the protocol in widespread use today.
• It is the actual protocol used to transfer mail from MTA to
MTA.
• MTA: Mail Transfer Agent .... A program that actually
routes and delivers mail.
• MUA: Mail User Agen t ... A program that is used to
access mail after delivery.
• The objective of SMTP is to transfer mail reliably and
efficiently.
History of SMTP
• The SMTP specification originally started with the Mail
Transfer Protocol in 1980
• It evolved into Simple Mail Transfer Protocol (SMTP) in 1981
• Specified in RFC 821
• Most recent RFC is 2821
• First and most important implementation is sendmail
General Features
• Independent of underlying transmission subsystem.
• Just needs a reliable ordered data stream channel.
• Operates over TCP port 25.
• Uses an request-response protocol that is useful to human
readers (SMTP commands).
• SMTP sessions are stateful, with both parties carefully
maintaining a common view of the current state.
8
Sendmail
Mail Transfer Agent [MTA] : is a computer program or software agent
that transfers electronic mail messages from one computer to another.
• Sendmail is a MTA
• Supports several mail transfers including SMTP
• Pro’s
• Can perform header rewriting, mail routing
• Extensive support available
• Con’s
• Not secure
• Code is bulky [compared to other MTA’s such as qmail]
9
Message transfer…
SMTP is a push
protocol
10
• SMTP server can also
assume the role of a
“relay”
• SMTP mail gateways
are used to transport
mail prepared by a
protocol other than
SMTP
Relays and Gateways
SMTP supported
Non-SMTP
supported
11
Link Layer PCI IP-PCI
Keyword: argument(s)
Command format:
Response format:
3-digit status code [textual information]
How SMTP works?
Link Layer PCI IP-PCI TCP-PCI SMTP command/responseTCP-PCI SMTP command/responseTCP-PCI SMTP command/response
12
How SMTP works : Status Codes
The Server responds with a 3 digit code that may be followed
by text info
– 2## - Success
– 3## - Command can be accepted with
more information
– 4## - Command was rejected, but error
condition is temporary
– 5## - Command rejected, Bad User!
13
Limitations in SMTP
• Only uses NVT 7 bit ASCII format
– How to represent other data types?
• Susceptible to misuse (Spamming,
faking sender address)
SMTP transport example
Simple mail transfer protocol

More Related Content

PPTX
Simple Mail Transfer Protocol
PPTX
Application layer
PPTX
Simple mail transfer protocol (smtp)
PPT
Smtp
PPTX
Simple Mail Transfer Protocol
PPTX
Link state routing protocol
PPTX
Imap(internet massege access protocaols)
PPTX
Simple Mail Transfer Protocol
Simple Mail Transfer Protocol
Application layer
Simple mail transfer protocol (smtp)
Smtp
Simple Mail Transfer Protocol
Link state routing protocol
Imap(internet massege access protocaols)
Simple Mail Transfer Protocol

What's hot (20)

PPT
Internet control message protocol
PPTX
Application layer protocols
PPTX
IP Multicasting
PPT
Sliding window protocol
PPTX
PPT
SMTP – Simple Mail Transfer Protocol | Explained for Beginners
PPTX
Bgp protocol
PPTX
TCP and UDP
PPT
Smtp protocol
PPTX
Csma cd and csma-ca
PPTX
TCP- Transmission Control Protocol
PPTX
Tcp/ip model
PPTX
SNMP/SMTP/MIME
PDF
E mail protocol - SMTP
PDF
Transport layer services
PPTX
Dhcp ppt
PPT
Multicast Routing Protocols
PPT
MPLS (Multi-Protocol Label Switching)
Internet control message protocol
Application layer protocols
IP Multicasting
Sliding window protocol
SMTP – Simple Mail Transfer Protocol | Explained for Beginners
Bgp protocol
TCP and UDP
Smtp protocol
Csma cd and csma-ca
TCP- Transmission Control Protocol
Tcp/ip model
SNMP/SMTP/MIME
E mail protocol - SMTP
Transport layer services
Dhcp ppt
Multicast Routing Protocols
MPLS (Multi-Protocol Label Switching)
Ad

Similar to Simple mail transfer protocol (20)

PPT
how email works
PPSX
SMTP(simple mail transfer protocol).ppsx
PDF
SMTP Bmsce ppt information science and engineering
PPTX
Application layer
PDF
Lecture 9 electronic_mail_representation_and_transfer
PPT
Mail server
PPT
Mail server
PDF
How Email Works
PPT
internet applications
PDF
Internet technology unit 6
PDF
Meeting 11. electronic mail: smtp
PPT
4. SMTP.ppt
PPT
Mail services
DOCX
SMTP.docx
PPT
Electronic mail chap-20
PDF
Email - Electronic Mail
PPT
Email ftp
PPT
Electronic Mail.ppt
how email works
SMTP(simple mail transfer protocol).ppsx
SMTP Bmsce ppt information science and engineering
Application layer
Lecture 9 electronic_mail_representation_and_transfer
Mail server
Mail server
How Email Works
internet applications
Internet technology unit 6
Meeting 11. electronic mail: smtp
4. SMTP.ppt
Mail services
SMTP.docx
Electronic mail chap-20
Email - Electronic Mail
Email ftp
Electronic Mail.ppt
Ad

Recently uploaded (20)

PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPT
Teaching material agriculture food technology
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Empathic Computing: Creating Shared Understanding
PDF
Encapsulation theory and applications.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Modernizing your data center with Dell and AMD
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Machine learning based COVID-19 study performance prediction
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Teaching material agriculture food technology
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
NewMind AI Weekly Chronicles - August'25 Week I
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Diabetes mellitus diagnosis method based random forest with bat algorithm
Building Integrated photovoltaic BIPV_UPV.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Encapsulation_ Review paper, used for researhc scholars
Empathic Computing: Creating Shared Understanding
Encapsulation theory and applications.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Unlocking AI with Model Context Protocol (MCP)
Agricultural_Statistics_at_a_Glance_2022_0.pdf
The AUB Centre for AI in Media Proposal.docx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Modernizing your data center with Dell and AMD
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Machine learning based COVID-19 study performance prediction

Simple mail transfer protocol

  • 2. Overview • Introduction to SMTP • History of Smtp • General features of SMTP • Sendmail • Relays And Gate ways • How SMTP works • Limitations in SMTP • Example of SMTP
  • 3. 3
  • 4. 4 Composes, reads, replies to ,forwards and handles mailboxes Transfers mails from one host to another Collects mail and delivers to user agent Transfers mails from one host to another Collects mail and delivers to user agentIntroduction…
  • 5. Introduction to SMTP • SMTP is an Internet standard for electronic mail. • SMTP is the protocol in widespread use today. • It is the actual protocol used to transfer mail from MTA to MTA. • MTA: Mail Transfer Agent .... A program that actually routes and delivers mail. • MUA: Mail User Agen t ... A program that is used to access mail after delivery. • The objective of SMTP is to transfer mail reliably and efficiently.
  • 6. History of SMTP • The SMTP specification originally started with the Mail Transfer Protocol in 1980 • It evolved into Simple Mail Transfer Protocol (SMTP) in 1981 • Specified in RFC 821 • Most recent RFC is 2821 • First and most important implementation is sendmail
  • 7. General Features • Independent of underlying transmission subsystem. • Just needs a reliable ordered data stream channel. • Operates over TCP port 25. • Uses an request-response protocol that is useful to human readers (SMTP commands). • SMTP sessions are stateful, with both parties carefully maintaining a common view of the current state.
  • 8. 8 Sendmail Mail Transfer Agent [MTA] : is a computer program or software agent that transfers electronic mail messages from one computer to another. • Sendmail is a MTA • Supports several mail transfers including SMTP • Pro’s • Can perform header rewriting, mail routing • Extensive support available • Con’s • Not secure • Code is bulky [compared to other MTA’s such as qmail]
  • 10. 10 • SMTP server can also assume the role of a “relay” • SMTP mail gateways are used to transport mail prepared by a protocol other than SMTP Relays and Gateways SMTP supported Non-SMTP supported
  • 11. 11 Link Layer PCI IP-PCI Keyword: argument(s) Command format: Response format: 3-digit status code [textual information] How SMTP works? Link Layer PCI IP-PCI TCP-PCI SMTP command/responseTCP-PCI SMTP command/responseTCP-PCI SMTP command/response
  • 12. 12 How SMTP works : Status Codes The Server responds with a 3 digit code that may be followed by text info – 2## - Success – 3## - Command can be accepted with more information – 4## - Command was rejected, but error condition is temporary – 5## - Command rejected, Bad User!
  • 13. 13 Limitations in SMTP • Only uses NVT 7 bit ASCII format – How to represent other data types? • Susceptible to misuse (Spamming, faking sender address)