Application Layer (7) Protocol Commands Flashcards
These commands are used to identify the SMTP client to the SMTP server.
SMTP Extended HELLO (EHLO) or HELLO (HELO)
This command is used to initiate a mail transaction in which the mail data is delivered to an SMTP server that may, in turn, deliver it to one or more mailboxes or pass it on to another system.
SMTP MAIL (MAIL)
This command is used to identify an individual recipient of the mail data; multiple recipients are specified by multiple uses of this command.
SMTP RECIPIENT (RCPT)
This command causes the mail data to be appended to the mail data buffer.
SMTP DATA (DATA)
This command specifies that the current mail transaction will be aborted.
SMTP RESET (RSET)
This command asks the receiver to confirm that the argument identifies a user or mailbox.
SMTP VERIFY (VRFY)
This command asks the receiver to confirm that the argument identifies a mailing list, and if so, to return the membership of that list.
SMTP EXPAND (EXPN)
This command causes the server to send helpful information to the client.
SMTP HELP (HELP)
This command does not affect any parameters or previously entered commands. It specifies no action other than that the receiver send a “250 OK” reply.
SMTP NOOP (NOOP)
This command specifies that the receiver MUST send a “221 OK” reply, and then close the transmission channel.
SMTP QUIT (QUIT)
OK; indicates that the request has succeeded
HTTP RESPONSE 200
Bad Request; the server cannot or will not process the request due to something that is perceived to be a client error
HTTP RESPONSE 400
Forbidden; the server understands the request but refuses to authorize it
HTTP RESPONSE 403
Not Found; indicates that the server cannot find the requested resource
HTTP RESPONSE 404
Internal Server Error; indicates that the server encountered an unexpected condition that prevented it from fulfilling the request
HTTP RESPONSE 500