SMTP Error 504: Command Parameter Not Implemented
SMTP Error 504 means “Command Parameter Not Implemented.” The SMTP command is supported but the specific parameter or extension used is not implemented by the receiving server. This commonly occurs with unsupported authentication mechanisms or encoding parameters.
504 5.5.4 Unrecognized authentication type
What does 504 mean?
SMTP code 504 indicates the server supports the command but not the specific parameter or argument you used. This is most commonly seen with the AUTH command when your server requests an authentication mechanism (like CRAM-MD5 or NTLM) that the receiving server does not support.
Another common scenario is using MAIL FROM with extended parameters (like SIZE or BODY=8BITMIME) that the receiving server has not implemented. Check the EHLO response to see which extensions and parameters the server advertises.
How 504 plays out
504 rejectionWhere 504 sits: soft vs hard bounce
| Soft bounce (4xx) | Hard bounce (5xx) | |
|---|---|---|
| Nature | Temporary | Permanent |
| SMTP class | 4xx | 5xx |
| What to do | Let it retry | Suppress the address |
| Recoverable? | Often | No |
| 504 is | ✓ this code |
Common causes of 504
- Using an unsupported authentication mechanism with AUTH command
- Specifying unsupported MAIL FROM parameters (SIZE, BODY, etc.)
- Requesting unsupported encoding or transfer options
How to fix 504
- Check the EHLO response for supported authentication mechanisms and extensions
- Configure your MTA to use a supported AUTH mechanism (PLAIN or LOGIN are widely supported)
- Remove unsupported parameters from MAIL FROM command