SMTP Simple Mail Transfer Protocol

Source: Internet
Author: User
Tags ftp file mail domain domain name ftp file transfer mail exchange

SMTP: Simple Mail Transfer Protocol (plain mail Transfer Protocol)

SMTP is a protocol that provides reliable and efficient e-mail transport. SMTP is a type of mail service modeled on FTP file transfer services that is used primarily for messaging information between systems and for notification of incoming letters.

SMTP is independent of a specific transport subsystem and requires only reliable and orderly data stream channel support. One of the important features of SMTP is that it can transmit messages across the network, or "SMTP mail relay." Typically, a network can be composed of non-TCP Transport layer protocols from TCP accessible to each other on the public Internet, TCP can access each other on a firewall-delimited TCP/IP network, and other hosts in Lan/wan. With SMTP, mail transmission between processors in the same network can be realized, and mail transmission between a processor and other networks can be realized through a repeater or gateway.

In this way, the sending of a message may pass through a large number of intermediate repeaters or gateway hosts from the sender to the receiving end path. The Mail Exchange server of the Domain Name Service system (DNS) can be used to identify the next hop IP address that transmits messages.

Protocol structure

The SMTP command is the ASCII information sent between the SMTP hosts, which may be as follows:

  

Command Describe
DATA Start information Writing
EXPN <string> Returns a name in the specified message table
HELO <domain> Return to mail server identity
Help <command> Returns the information in the specified command
MAIL from Initialize a mail session on the host
NOOP No response except for server response confirmation
QUIT Terminate a mail session
RCPT to <user> Indicate who received the message
RSET Reset Mail Connection
SAML from Send mail to user terminals and mailboxes
SEND from Send mail to User terminal
SOML from Send a message to a user terminal or mailbox
TURN Swap roles between receiver and sender
VRFY <user> Verifying 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.