Simple Description of SMTP protocol

Source: Internet
Author: User

In terms of email, we already know the POP protocol and IMAP protocol. Today, we will introduce the SNTP protocol. This Protocol also plays an important role in email. SMTP is a reliable and effective Email transmission protocol. SMTP is a mail service modeled on the FTP file transfer service. It is mainly used to transmit mail information between systems and provide notifications related to letters.

SMTP is independent of a specific transmission subsystem and only supports reliable and ordered data stream channels. One of the important features of the SMTP protocol is its ability to transmit mail over the network, that is, SMTP mail relay. Generally, a network can be accessed by a TCP host on the public Internet and a host on a TCP/IP network separated by a firewall, and other hosts in the LAN/WAN are composed of Non-TCP transport layer protocol. By using SMTP, mail transmission between processors on the same network can be realized, or mail transmission between a processor and other networks can be realized through a repeater or a gateway.

In this way, the Mail may be sent through a large number of intermediate relay or gateway hosts from the sender to the acceptor path. Domain Name Service System (DNS), the mail exchange server can be used to identify the next hop IP address of the sent mail.

Protocol Structure

The SMTP protocol command is the ASCII information sent between SMTP hosts. The command may be as follows:

Command Description
DATA Start information writing
EXPN <string> Returns the name in the specified email table.
HELO <domain> Return email server identity
HELP <command> Returns the information in the specified command.
Mail from Initialize an email Session on the host
NOOP No response except server response confirmation
QUIT Terminate an email session
Rcpt to <user> Specify who received the email
RSET Reset email connection
Saml from Send email to user terminal and email
Send from Send email to user terminal
Soml from Send an email to your terminal or email address
TURN Exchange roles between the receiving end and the sending end
VRFY <user> Verify user identity

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.