SMTP error 540
Not a real code — usually 5.4.0, or a provider literal rejection.
Updated Jul 1, 2026
The short answer
Not a real code — usually 5.4.0, or a provider literal rejection. Common cause: Either enhanced status 5.4.0 (undefined network / routing) or a provider string such as Rambler Inactive / Blocked.
Quick fix
Read the bounce text; verify the recipient and your sender reputation.
5 - Permanent. The server will not try again. Fix the cause before you resend.
How to fix it
Read the bounce text; verify the recipient and your sender reputation.
Paired code
A real bounce often shows both a 3-digit code and an enhanced code together. This one commonly pairs with: