SMTP performs a handshake to establish a connection by using the HELO/EHLO command and the fully qualified sender and recipient domain names to ensure that the message will be deliverable. Once the connection is established, the MAIL command will respond to 220 Ready for mail.