SMTP | 25, 587
Port 25 is the standard SMTP port for server-to-server email relay but is often blocked due to spam abuse; port 587 is the recommended default for secure email submission, while port 465 is a legacy.
HELO
Introduces the client to the server (used in SMTP).
EHLO
Extended HELO; used in ESMTP to request server capabilities.
MAIL FROM:
Specifies the sender's email address.
RCPT TO:
Specifies the recipient's email address.
DATA
Indicates that the email content (headers + body) follows.
RSET
Resets the current mail transaction.
VRFY
Verifies if a user/email address exists on the server.
EXPN
Expands a mailing list to show all recipients.
NOOP
No operation; used to keep the connection alive.
QUIT
Terminates the SMTP session.
STARTTLS
Initiates a TLS-secured connection (if supported).
AUTH
Begins the authentication process (e.g, LOGIN, PLAIN, CRAM-MD5).
211
Success
System status or help reply
214
Success
Help message
220
Success
Service ready
221
Success
Service closing transmission channel
250
Success
Requested action completed
251
Success
User not local; will forward
252
Success
Cannot verify user, but will accept message
354
Intermediate
Start mail input; end with .
421
Error
Service not available, closing transmission channel
450
Error
Requested action not taken: mailbox unavailable
451
Error
Requested action aborted: local error in processing
452
Error
Requested action not taken: insufficient system storage
500
Error
Syntax error, command unrecognized
501
Error
Syntax error in parameters or arguments
502
Error
Command not implemented
503
Error
Bad sequence of commands
504
Error
Command parameter not implemented
550
Error
Requested action not taken: mailbox unavailable
551
Error
User not local; please try
552
Error
Requested mail action aborted: exceeded storage allocation
553
Error
Requested action not taken: mailbox name not allowed
554
Error
Transaction failed (message rejected)
Nmap Script
Username enumerate
Check Auth
Send mail
SMTP server
Last updated
Was this helpful?