SMTP

SMTP 235 Authentication Successful vs 504 Parameter Not Implemented

SMTP 235 (Authentication Successful) is a 2xx Positive Completion response, while 504 (Parameter Not Implemented) is a 5xx Permanent Negative 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, 504 means that a command parameter is not implemented on this server. The command itself is valid but the specific parameter or extension you used is not supported.

説明

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.

説明

A command parameter is not implemented on this server. The command itself is valid but the specific parameter or extension you used is not supported.

このコードが表示される場合

When using SMTP extensions or parameters that the server does not support, such as an unsupported AUTH mechanism or an unrecognized MAIL FROM parameter.

解決方法

Check the server's EHLO response for supported extensions and parameters. Use only the mechanisms and parameters listed in the server's capability advertisement.

主な違い

1.

235 is a 2xx Positive Completion response, while 504 is a 5xx Permanent Negative response.

2.

SMTP 235: The client has been successfully authenticated using the AUTH command. The server will now accept mail commands from this authenticated session.

3.

SMTP 504: A command parameter is not implemented on this server. The command itself is valid but the specific parameter or extension you used is not supported.

4.

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.

5.

You encounter 504 when when using SMTP extensions or parameters that the server does not support, such as an unsupported AUTH mechanism or an unrecognized MAIL FROM parameter.

どちらをいつ使うか

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 504 (Parameter Not Implemented): Check the server's EHLO response for supported extensions and parameters. Use only the mechanisms and parameters listed in the server's capability advertisement.

詳しく見る