SMTP Commands Reference
Complete reference for SMTP commands supported by CloudMails
Core Commands
EHLO hostname
Extended Hello. Identifies sending host and requests extended SMTP features.
AUTH LOGIN
Authenticate with username and password (base64 encoded).
MAIL FROM: sender@example.com
Specifies the sender email address. SIZE parameter indicates message size.
RCPT TO: recipient@example.com
Specifies the recipient email address. Can specify multiple.
DATA
Begins message body transmission. Ends with CRLF.CRLF (single period on line).
RSET
Reset current mail transaction. Clears sender, recipients, and message buffer.
NOOP
No operation. Server returns OK. Used for keepalive or testing.
QUIT
Ends the SMTP session.
Extended Commands
STARTTLS
Start TLS encryption. Issued after EHLO to upgrade plain connection to encrypted.
VRFY user@example.com
Verify if email address exists. Used for email validation.
EXPN alias@example.com
Expand mailing list alias. Shows actual recipient list.
HELP
Returns help information about SMTP commands.