SMTP 354 Start Mail Input vs 502 Command Not Implemented
SMTP 354 (Start Mail Input) is a 3xx Positive Intermediate response, while 502 (Command Not Implemented) is a 5xx Permanent Negative response. 354 indicates that the server is ready to receive the message body. The client should begin sending the email content (headers and body) and terminate with a single line containing only a period (CRLF.CRLF). In contrast, 502 means that the command is recognized by the SMTP specification but is not implemented on this server. The server understands the command but has chosen not to support it.
الوصف
The server is ready to receive the message body. The client should begin sending the email content (headers and body) and terminate with a single line containing only a period (CRLF.CRLF).
متى تراه
After sending the DATA command. The server is now waiting for you to type or stream the email message, ending with a dot on its own line.
كيفية الإصلاح
Send your message content followed by a line with just a period (.) to signal the end. If you get an error after this, check that your message does not contain a bare period on a line by itself within the body.
الوصف
The command is recognized by the SMTP specification but is not implemented on this server. The server understands the command but has chosen not to support it.
متى تراه
When using optional SMTP commands like VRFY, EXPN, or TURN that the server administrator has disabled, often for security or anti-spam reasons.
كيفية الإصلاح
Use an alternative approach — for example, if VRFY is disabled, send a test email instead of verifying the address. Check the server's EHLO response for supported extensions.
الفروق الرئيسية
354 is a 3xx Positive Intermediate response, while 502 is a 5xx Permanent Negative response.
SMTP 354: The server is ready to receive the message body. The client should begin sending the email content (headers and body) and terminate with a single line containing only a period (CRLF.CRLF).
SMTP 502: The command is recognized by the SMTP specification but is not implemented on this server. The server understands the command but has chosen not to support it.
You encounter 354 when after sending the DATA command. The server is now waiting for you to type or stream the email message, ending with a dot on its own line.
You encounter 502 when when using optional SMTP commands like VRFY, EXPN, or TURN that the server administrator has disabled, often for security or anti-spam reasons.
متى تستخدم أيًا منهما
For 354 (Start Mail Input): Send your message content followed by a line with just a period (.) to signal the end. If you get an error after this, check that your message does not contain a bare period on a line by itself within the body. For 502 (Command Not Implemented): Use an alternative approach — for example, if VRFY is disabled, send a test email instead of verifying the address. Check the server's EHLO response for supported extensions.