🖥️smtp

➡️This is a command-line reference manual for commands and command combinations that you don’t use often enough to remember it. This cheatsheet explains the smtp command with important options and switches using examples.

▁ ▂ ▃ ▄ ꧁ 🔴☠ COMMANDLINE-KUNGFU WITH CHEATSHEETS ☠🔴꧂▅ ▃ ▂ ▁

#                ███████╗███╗   ███╗████████╗██████╗ 
#                ██╔════╝████╗ ████║╚══██╔══╝██╔══██╗
#                ███████╗██╔████╔██║   ██║   ██████╔╝
#                ╚════██║██║╚██╔╝██║   ██║   ██╔═══╝ 
#                ███████║██║ ╚═╝ ██║   ██║   ██║     
#                ╚══════╝╚═╝     ╚═╝   ╚═╝   ╚═╝     
                                                    
                

SMTP Commands

The SMTP protocol, like so many other protocols, has its own subset of commands. Here are a few of the most important SMTP commands.

    HELO - This is the command that the client sends to the server to initiate a conversation. Generally, the IP address or domain name must accompany this command, such as HELO 192.168.101 or HELO client.microsoft.com.
    EHLO - This command is the same as HELO, but communicates to the server that the client wants to use Extended SMTP. If the server does not offer ESMTP, it will still recognize this command and reply appropriately.
    STARTTLS - Normally, SMTP servers communicate in plaintext. To improve security, the connection between SMTP servers can be encrypted by TLS (Transport Layer Security). This command starts the TLS session.
    RCPT - Specifies the email address of the recipient.
    DATA - Starts the transfer of the message contents.
    RSET - Used to abort the current email transaction.
    MAIL - Specifies the email address of the sender.
    QUIT - Closes the connection.
    HELP - Asks for the help screen.
    AUTH - Used to authenticate the client to the server.
    VRFY - Asks the server to verify is the email users mailbox exists.
	 
#==============================##==============================#
# CMD SMTP						       #
#==============================##==============================#
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

  █║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌

              ██╗ ██╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗
             ████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
             ╚██╔═██╔╝██║  ██║██║   ██║ ╚███╔╝ █████╗  ██║  ██║
             ████████╗██║  ██║██║   ██║ ██╔██╗ ██╔══╝  ██║  ██║
             ╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
              ╚═╝ ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═════╝

               █║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░