Skip to content
MtrXTools

530 5.7.57 Client not authenticated to send anonymous mail during MAIL FROM

The app sent to smtp.office365.com without logging in

Seen in Microsoft 365 SMTP client submission, .NET SmtpClient, printers, scanners

The device or application connected to smtp.office365.com, which only accepts authenticated submission, but sent MAIL FROM without a successful login.

Common causes

  • No username and password (or OAuth token) is configured in the app or printer.
  • Authentication failed silently, often because SMTP AUTH is disabled; look for a 5.7.139 error alongside it.
  • The device does not support SMTP AUTH or STARTTLS on port 587.

How to fix it

  1. Enter the mailbox credentials in the app and use port 587 with STARTTLS.
  2. If authentication is failing, fix that first (see 535 5.7.139).
  3. For devices that cannot authenticate, use direct send to your MX endpoint or an SMTP relay connector instead.

Got a different message? Paste it into the error explainer.

Related errors

All 33 Email (SMTP) errors