What transport protocols are commonly used for email?
The transmission protocol usually used by email is "SMTP". SMTP means "Simple Mail Transfer Protocol" in Chinese. It is an email service built on the FTP file transfer service. It is mainly used to transfer email information between systems and provide notifications about incoming letters. Using SMTP, mail transmission can be realized between processing processes on the same network, and mail transmission between a processing process and other networks can also be realized through a relay or gateway.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
E-mail protocols include SMTP, POP3, and IMAP4, which all belong to the TCP/IP protocol cluster. By default, connections are established through TCP ports 25, 110, and 143 respectively.
The transmission protocol commonly used for email is SMTP.
SMTP protocol
The full name of SMTP is "Simple Mail Transfer Protocol", which is a simple mail transfer protocol. A protocol for reliable and efficient email transmission. SMTP is an email service built on the FTP file transfer service. It is mainly used to transfer email information between systems and provide notifications about incoming letters.
SMTP is independent of a specific transmission subsystem and only requires reliable and orderly data flow channel support. One of the important features of SMTP is its ability to transmit emails across the network, that is, "SMTP mail relay".
Using SMTP, mail transmission can be realized between the same network processing processes, and mail transmission between a certain processing process and other networks can also be realized through a relay or gateway.
Function:
SMTP is a set of rules for transmitting emails from a source address to a destination address, and controls how letters are transferred. The SMTP protocol belongs to the TCP/IP protocol suite, which helps each computer find the next destination when sending or relaying letters. Through the server specified by the SMTP protocol, we can send the E-mail to the recipient's server. The whole process only takes a few minutes. The SMTP server is a sending email server that follows the SMTP protocol and is used to send or relay emails sent by users.
SMTP is a protocol that provides reliable and efficient email transmission. It is an email service built on the FTP file transfer service. It is mainly used to transfer email information between systems and provide notifications about incoming letters.
One of the important features of SMTP is its ability to transmit mail across the network, also known as "SMTP mail relay". Using SMTP, mail transmission can be realized between processors on the same network, and mail transmission between a certain processor and other networks can also be realized through a relay or gateway. Mail exchange servers with Domain Name Service (DNS) functionality can also be used to identify the next-hop IP address for transmitting mail.
Working process
The working process of the SMTP protocol can be divided into the following three processes:
(1) Establishing a connection: At this stage, The SMTP client requests to establish a TCP connection with the server's port 25. Once the connection is established, the SMTP server and client begin to advertise their domain names to each other and confirm each other's domain names.
(2) Mail transmission: Using commands, the SMTP client passes the source address, destination address and specific content of the mail to the SMTP server, and the SMTP server responds accordingly and receives the mail.
(3) Connection release: The SMTP client issues an exit command, the server responds after processing the command, and then closes the TCP connection.
Extended knowledge:
POP protocol
POP post office protocol is responsible for retrieving from the mail server e-mail. It requires the mail server to complete one of the following tasks: retrieve the mail from the mail server and delete the mail from the server; retrieve the mail from the mail server but not delete it; do not retrieve the mail and just ask if any new mail has arrived. The POP protocol supports the Multi-User Internet Mail Extension, which allows users to attach binary files to emails, such as word processing files and spreadsheet files. This allows virtually any file format to be transferred, including images and sound files. When the user reads the mail, the POP command downloads all the mail information to the user's computer immediately and does not keep it on the server.
POP3 (Post Office Protocol 3) is the third version of the Post Office Protocol and is the first offline protocol standard for Internet email.
IMAP Protocol
Internet Information Access Protocol (IMAP) is a new protocol that is superior to POP. Like POP, IMAP can download mail, delete mail from the server, or ask for new mail, but IMAP overcomes some of POP's shortcomings. For example, it can determine how the client requests the mail server to submit incoming mail, requesting the mail server to download only selected messages rather than all messages. The client can read the title of the email message and the name of the sender before deciding whether to download the email. Through the user's client email program, IMAP allows users to create and manage mail folders or mailboxes on the server, delete mail, and query part or all of a letter, all without removing the mail from the server. Downloaded to the user's personal computer.
Commonly used email clients that support IMAP include: ThunderMail, Foxmail, Microsoft Outlook, etc.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of What transport protocols are commonly used for email?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











Apple offers a privacy-focused feature called "Hide Email Address" that allows users to hide their real email addresses on apps or websites that require account registration. We've taught you how to use this feature on your iPhone, now let's take a look at what's possible when using it in your daily work. What is a hidden email address on iPhone? The purpose of the Hide Email Address feature is to protect the privacy of your email address. By providing a temporary email address for application and website registration, you do not need to directly provide a person's real email address. This feature allows you to generate multiple iCloud email addresses for signing up with different services, thus avoiding revealing your true email address.

Outlook offers many settings and features to help you manage your work more efficiently. One of them is the sorting option that allows you to categorize your emails according to your needs. In this tutorial, we will learn how to use Outlook's sorting feature to organize emails based on criteria such as sender, subject, date, category, or size. This will make it easier for you to process and find important information, making you more productive. Microsoft Outlook is a powerful application that makes it easy to centrally manage your email and calendar schedules. You can easily send, receive, and organize email, while built-in calendar functionality makes it easy to keep track of your upcoming events and appointments. How to be in Outloo

How to implement a simple email sending program using C++? With the popularity of the Internet, email has become an indispensable part of people's daily life and work. In C++ programming, we can use the SMTP (SimpleMailTransferProtocol) protocol to implement a simple email sending program. This article will introduce how to write a basic email sending program using C++. First, we need to prepare some tools and libraries to implement our program. first

How to use Flask-Mail to send emails With the development of the Internet, email has become an important tool for people to communicate. When developing web applications, sometimes we need to send emails in specific scenarios, such as sending a welcome email after a user successfully registers, or sending a password reset email when a user forgets their password, etc. Flask is a simple and flexible Python Web framework, and Flask-Mail is an extension library for sending emails under the Flask framework. This article will introduce how to

PHP email templates: Customize and personalize your email content With the popularity and widespread use of email, traditional email templates can no longer meet people's needs for personalized and customized email content. Now we can create customized and personalized email templates by using PHP programming language. This article will show you how to use PHP to achieve this goal, and provide some specific code examples. 1. Create an email template First, we need to create a basic email template. This template can be an HTM

The characteristics of email are: 1. Low cost. Email uses a store-and-forward method to gradually transmit information on the network. It is not as direct as a phone call, but the cost is lower; 2. It spreads quickly. Email combines telephone communication and postal mail. It can transmit information as fast as a phone call and can be sent to any designated destination in the world within a few seconds; 3. It is very convenient; 4. It has a wide range of communication objects and can be connected to the network in any corner of the world. User contact; 5. The information is diverse and can be in various forms such as text, images, sounds, etc.; 6. It is relatively safe.

The email address is a fixed format created by Ray Tomlinson: user@mail.server.name, which is similar to the address of the recipient when mailing a regular letter. In the format, user is the recipient's user name, and mail.server.name is the recipient's email server name. It can also be a domain name or an IP address represented by a decimal number. Each user's email address on the Internet is unique, which makes sending and receiving emails more convenient and accurate.

1. The email format includes the following elements: recipient, sender, subject, body, attachment and date. 2. The recipient specifies the recipient of the email. The recipient's email address usually consists of a username and a domain name, separated by the @ symbol. 3. Sender contains the sender information of the email, including name and email address. This information is displayed in the header of the email and shows the sender's identity to the recipient. 4. The subject is a brief summary of the email content. It is usually a concise and meaningful phrase that can help the recipient quickly understand the main content of the email.