SMTP 235 Authentication Successful vs 354 Start Mail Input
SMTP 235 (Authentication Successful) is a 2xx Positive Completion response, while 354 (Start Mail Input) is a 3xx Positive Intermediate response. 235 indicates that the client has been successfully authenticated using the AUTH command. The server will now accept mail commands from this authenticated session. In contrast, 354 means 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).
설명
The client has been successfully authenticated using the AUTH command. The server will now accept mail commands from this authenticated session.
이 코드를 보게 되는 경우
After submitting valid credentials via the AUTH command (LOGIN, PLAIN, or other SASL mechanism). The server has verified your identity and you can now send mail.
해결 방법
No fix needed — authentication succeeded. If you expected this but received a different code, double-check your username, password, and the authentication mechanism.
설명
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.
주요 차이점
235 is a 2xx Positive Completion response, while 354 is a 3xx Positive Intermediate response.
SMTP 235: The client has been successfully authenticated using the AUTH command. The server will now accept mail commands from this authenticated session.
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).
You encounter 235 when after submitting valid credentials via the AUTH command (LOGIN, PLAIN, or other SASL mechanism). The server has verified your identity and you can now send mail.
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.
언제 어떤 것을 사용할지
For 235 (Authentication Successful): No fix needed — authentication succeeded. If you expected this but received a different code, double-check your username, password, and the authentication mechanism. 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.