0% found this document useful (0 votes)
53 views4 pages

? SMTP (Simple Mail Transfer Protocol) - Seminar Notes

SMTP (Simple Mail Transfer Protocol) is an application layer protocol used for transferring email messages between mail servers, primarily utilizing port 25. It operates on a client/server model and involves components like User Agents and Message Transfer Agents to manage the sending and receiving of emails. Understanding SMTP is essential for network professionals as it works in conjunction with other protocols like POP and IMAP for effective email communication.

Uploaded by

bhaveshtupe06
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views4 pages

? SMTP (Simple Mail Transfer Protocol) - Seminar Notes

SMTP (Simple Mail Transfer Protocol) is an application layer protocol used for transferring email messages between mail servers, primarily utilizing port 25. It operates on a client/server model and involves components like User Agents and Message Transfer Agents to manage the sending and receiving of emails. Understanding SMTP is essential for network professionals as it works in conjunction with other protocols like POP and IMAP for effective email communication.

Uploaded by

bhaveshtupe06
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

📬 SMTP (Simple Mail Transfer Protocol) – Seminar Notes

---

🔹 Introduction to SMTP
SMTP stands for Simple Mail Transfer Protocol.

It is an application layer protocol in the TCP/IP model.

Used to transfer email messages from the sender’s mail server to the recipient’s mail server.

Uses port 25 by default.

Based on a client/server model with command-response interaction.

---

🔹 Role of SMTP in Email System


1. User Agent (UA)

Allows the user to compose, send, and read emails.

Interacts with the mail server but not directly with SMTP.

2. Message Transfer Agent (MTA)

Responsible for transferring mail from source to destination.

Works in the background.

Handles:

Temporary failures by retrying or queuing messages.

Distinction between local and remote destinations.

Sending to multiple recipients.

Attachments, text, audio, video, etc.


---

🔹 SMTP Characteristics
Stores mail temporarily on the sender side and then sends it to the receiver’s server.

Uses ASCII text for commands and responses.

Every interaction ends with CRLF (Carriage Return Line Feed).

Mail client interacts with local SMTP server for mail delivery.

Queues are maintained to manage outgoing and incoming mail.

---

🔹 Addressing in SMTP
Email ID structure: username@domain

Local part (before @): unique within the local mail system.

Domain part (after @): must be unique in the global Internet.

---

🔹 SMTP Components
MIME (Multipurpose Internet Mail Extensions) – supports attachments.

POP (Post Office Protocol) – retrieves mail from the server.

---

🔹 Message Transmission Example (Alice → Bob)


Steps:

1. Alice composes email using her User Agent (UA).


2. Message is sent to her mail server and queued.

3. SMTP client opens TCP connection with Bob’s mail server.

4. Message sent over this connection.

5. Bob’s mail server stores it in Bob’s mailbox.

6. Bob reads it using his User Agent (UA).

![Fig. 5.1.4 - Message Scenario]

---

🔹 SMTP Command/Response Interaction


Client ↔ Server interaction.

Responses contain:

Status codes

Optional messages

SMTP has 14 standard commands.

![Fig. 5.1.5 - Command/Response Model]

---

🔹 Common SMTP Commands


Command​ Description

HELO​ Initiate the session and identify client to server


MAIL FROM​ Specify the sender's email address
RCPT TO​ Specify the recipient’s email address
DATA​ Begin the body of the message
QUIT​ Terminate the connection

---

🔹 Sample SMTP Interaction


Client (C): [Link]
Server (S): [Link]

S: 220 [Link]
C: HELO [Link]
S: 250 Hello [Link], pleased to meet you
C: MAIL FROM:<rupali@[Link]>
S: 250 rupali@[Link] … sender ok
C: RCPT TO:<rakshita@[Link]>
S: 250 rakshita@[Link] … Recipient ok
C: DATA
S: 354 Enter mail, end with "." on a line by itself
C: Do you like Apple?
C: What about school?
C: .
S: 250 message accepted for delivery
C: QUIT
S: 221 [Link] closing connection

---

🔹 Conclusion
SMTP is a robust and reliable protocol for email transmission.

Works best when combined with other protocols like POP and IMAP.

Understanding SMTP is crucial for network engineers, developers, and IT admins.

You might also like