What 550 5.7.57 means
Microsoft returns 5.7.57 when an application or device connects to the smtp.office365.com endpoint and tries to send without authenticating. To submit mail through Microsoft 365 you have to log in with the credentials of a user who has an Exchange Online mailbox, and TLS is required before that login can happen.
Microsoft's documentation shows it as 550 5.7.57 in a bounce. During the SMTP session itself, many tools log it as 530 5.7.57, the reply to the MAIL FROM command. Both mean the same thing: the connection was never authenticated, so nothing was sent.
What the bounce looks like
The wording providers document for this code. Your bounce may add an IP address, a session ID or a help link after it.
550 5.7.57 Client was not authenticated to send anonymous mail during MAIL FROM Why cold emailers see 550 5.7.57
- Authentication is switched off in the tool's SMTP settings, or the username and password fields are empty.
- The tool connects on port 587 without STARTTLS, so it can't log in (Microsoft requires TLS for authentication).
- Wrong credentials, so the login silently fails and the tool carries on sending anyway.
- SMTP AUTH is disabled for the mailbox or tenant, so even correct credentials can't authenticate (often shown as 535 5.7.139 first).
How to fix 550 5.7.57
- Use smtp.office365.com, port 587, STARTTLS, and turn authentication on.
- Enter the full email address of a licensed Exchange Online mailbox as the username, with its password (or connect with OAuth if the tool supports it).
- Make sure the From address is that same mailbox, or one it has permission to send as.
- If the login itself fails, check whether SMTP AUTH is enabled for the mailbox (see 535 5.7.139).
- Send a test message from the tool after saving the settings, before restarting any campaign.
Retry or suppress?
Don't suppress anyone. Fix the SMTP login settings and resend.
Reading the code
The basic code 550
means "Mailbox unavailable or message refused (permanent)" under RFC 5321. In 5.7.57, the 5 is the class (permanent failure) and the 7 is the subject (security or policy). The detail number 57 isn't in the RFC 3463 / IANA registry; it's specific to the provider, so the text after the code carries the meaning.
- Class 5
- Permanent failure
- Resending the same message won't work. Something about the message, the recipient or the sender has to change first.
- Subject 7
- Security or policy
- A security or policy decision: spam filtering, authentication, blocklists, permissions.
- Detail 5.7.57
- Provider-specific
Check the rest of your setup
Paste the headers of a message that did get through into the email header analyzer to confirm SPF, DKIM and DMARC pass, and check your domain with the SPF, DKIM & DMARC checker. The deliverability checklist covers the rest of a healthy sending setup.
Got a different bounce? Paste it into the SMTP error code lookup to decode it.