RFC821-Simple Mail Transfer Protocol (SMTP) Chinese version-2

Source: Internet
Author: User
From: Author: (08:08:00)
4.1.2. COMMAND syntax format
A command is composed of an authorization code and a subsequent parameter field. The command code is composed of four letters, no difference
Case. Because the following commands serve the same purpose:
MAIL Mail mail
This is also applicable TO the flag that directs any parameter value, such as to and. Command code and
Parameters are separated by one or more spaces. However, the parameters in the reply path and the forwarding path are case-insensitive.
. Especially on some hosts, "smith" and "Smith" are not a user at all.
The parameter field is composed of an indefinite string ending with <CRLF>. Before the receiver completely receives this sequence
No action will be taken. Square brackets represent optional parameter fields. If not selected, the system selects the default
.
The following is the SMTP command:
HELO <SP> <domain> <CRLF> MAIL <SP> FROM: <reverse-path> <CRLF>
RCPT <SP> TO: <forward-path> <CRLF>
DATA <CRLF>
RSET <CRLF>
SEND <SP> FROM: <reverse-path> <CRLF>
SOML <SP> FROM: <reverse-path> <CRLF>
SAML <SP> FROM: <reverse-path> <CRLF>
VRFY <SP> <string> <CRLF>
EXPN <SP> <string> <CRLF>
HELP [<SP> <string>] <CRLF>
NOOP <CRLF>
QUIT <CRLF>
TURN <CRLF>
The format of the above parameter fields is given below for the BNF format, where "..." represents
The domain is repeated once or multiple times.
<Reverse-path >::= <path>
<Forward-path >::= <path>
<Path>: = "<" [<a-d-l> ":"] <mailbox> ">"
<A-d-l >::= <at-domain >|< at-domain> "," <a-d-l>
<At-domain >::= "@" <domain>
<Domain >::= <element >|< element> "." <domain>
<Element >::= <name> | "#" <number> | "[" <dotnum> "]"
<Mailbox >::= <local-part> "@" <domain>

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.