Professional Documents
Culture Documents
Group Members
Name ID
Reham fahad Al zamanan 443007526
Leen abdulaziz almufleh 443007541
Shatha abdul Rahman al ghamdi 443007632
Tala tariq Al muqrin 443007543
PNU
people use it daily to send various types of messages. Throughout this report, we will explore in
detail the protocol behind sending emails. The Simple Mail Transfer Protocol (SMTP) is a part
of the application layer of the TCP/IP and one of the protocols used to send emails and transfer
data across networks. In simple terms, SMTP works like this: When you send a message, the
SMTP server processes your email, then decides which server to send the message to, and relays
the message to that server. The recipient’s inbox service provider, for example, Gmail or Yahoo,
1
And now we need to know more about the transmission of e-mail between the sender and
the receiver, and the essential process that SMTP performs in this journey
4. The SMTP server begins by contacting DNS (Domain Name System) to resolve the
recipient's IP address.
5. Then the message goes through a series of jumps, including the mail gateway, sender's
The message is then stored on the recipient's mail server waiting for an Post Office
Protocol 3 (POP3) protocol request from the recipient's host for message delivery.
6.The message is then stored on the recipient's mail server waiting for an IMAP or POP3
protocol request from the recipient's host to complete the email delivery.
The TCP/IP protocols separate the message into data packets and provide addressing to
the recipient. Each of those packets is sent along the shortest path to the recipient's
Exchange Mail Server. TCP ensures delivery of all packets and will request any missing
packets to be resent
The TCP/IP protocols separate the message into data packets and provide addressing to
the recipient. Each of those packets is sent along the shortest path to the recipient's
Exchange Mail Server. TCP ensures delivery of all packets and will request any missing
2
packets to be resent. The message is then reassembled for the recipient, and delivery is
confirmed.
SMTP is only used for delivering emails, and the protocol's instructions establish a
followed by the packetized transfer of all data before the session is terminated.
The host computer of the recipient will use Post Office Protocol 3 (POP3) or Internet
Message Access Protocol (IMAP) to request the email from storage on the local email
server in order for the recipient to receive it. Contrast this with sending a reply email,
Email messages must be sent between servers using a series of codes known as SMTP
instructions;
First, The email client is introducing itself to the SMTP server with the
The email server receives a notification that the client wants to begin the mail transaction.
After this command, the client states its IP address and domain name.
MAIL FROM command : The sender really initiates the email transfer by putting the
And if there are several recipients, the command is simply repeated address by address.
RCPT TO (Receiver To) command: This command identifies the email's recipient.
3
DATA command: This causes data to be transferred from the client to the server.
The email content starts to transmit, usually followed by a 354 reply code from the
QUIT command: After the email has been sent, the client disconnects the server by
And when the mail transaction needs to be stopped, an RSET (Reset) command: message
is sent to the server. The connection is not terminated, but everything is reset and all
previous information about the email and the parties involved is deleted.
4
like any protocol there some vulnerabilities of the SMTP
At first, Protocol for Simple Mail Transfer (SMTP) Despite the fact that this protocol has
numerous advantages, there are many drawbacks that lower the works effectiveness and users'
desire for it. One of the disadvantages of this protocol is that the sent messages are very
vulnerable to theft, due to the reason for fake emails, which are communications that are sent to
any recipient of these communications to any address. Another disadvantage is that the user of
this protocol will be restricted from sending e-mail through your policies or even Internet
connection restrictions. We can generally sum up the flaws in the following ways:
• Binary files must be converted into text files before being transmitted via SMTP. To transmit
• Mail messages that are longer than a certain length may be rejected by SMTP servers.
servers, which might delay sending and also raise the likelihood that the message
won't be delivered.
5
We have many mail services with mail API, web API, and peaceful integration. This
overcomes the downside of SMTP servers, as bulk mail is transmitted with high security.
It assists mail marketing campaigns with analytics and traceability for each sender that is
taken on the crusade. These send marketing services to help make connections with guests
1. SendGrid
It is the best SMTP server alternative for business mail marketing terms, providing some
reliable forwarding services with API and SMTP sending services. Presentation bot,
design, templates, stats, and deliverability awareness also provide the best corporate
mailing service.
2. Elastic Email
It is an SMTP source for sending emails with multiple services, and it provides a
mechanism for messages to get the best transmission and delivery of mail, in addition to
that it has mail marketing, mail verification, and mail automation to run different
campaigns.
3. Ongage
It is one of the best SMTP alternative to send and receive emails with better control,
secure usage, email API, SMTP relay and mail transfer agent for delivery to many
destinations.
4. Amazon SES
Simple Mail Service uses SES to send, receive, and forward emails from multiple
processes, and we can use it for marketing, transactional, and bulk mail delivery during
6
5. Postmark
It is the best mail delivery system for application emails. Best alternative to SMTP to
send emails using API and SMTP. With unique email templates, it can help send
analytics and tracking of mail delivery using several tools of the service.
7
8