Share via

Error: 535 5.7.139 Authentication unsuccessful SMTP for private outlook/hotmail accounts

Pec Manager 20 Reputation points
2026-05-18T08:03:34.8366667+00:00

I am developing an application for sending emails via SMTP. For old accounts it is working correctly. For newly create accounts(2026) I am encountering an error: 535: 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Mailbox.

The POP3 and IMAP4 protocols are already enabled for the mailbox in Forwaring and IMAP section. Also IMAP connection and authenticstion are working fine.
While in some forums the answer for enabling SMTP authenticaion is to go to Admin panel of M365 admin center and enable it from there, For private acounts there is no such option.

What other options are there to enable SMTP authentiction for private accounts?

Outlook | Web | Outlook.com | Account management, security, and privacy
0 comments No comments

Answer accepted by question author

AI answer

2026-05-18T08:03:48.78+00:00

For consumer Outlook.com/Hotmail accounts, SMTP AUTH can’t be enabled or managed in the Microsoft 365 admin center because these accounts don’t belong to an Exchange Online tenant that the user administers. The error

535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Mailbox

comes from the mailbox-side SMTP AUTH setting being disabled. In Microsoft 365 organizations this can be changed via Set-CASMailbox or tenant-wide SMTP AUTH settings, but those controls are only available to admins of an Exchange Online tenant, not to individual Outlook.com/Hotmail users.

For private Outlook.com/Hotmail accounts, there is no supported way for an end user or app developer to:

  • Turn on SMTP AUTH at the mailbox level, or
  • Override any organization-wide SMTP AUTH restrictions.

Instead, applications that need to send mail from Outlook.com/Hotmail should be designed to use modern authentication (OAuth) with the supported protocols (for example, via Microsoft Graph or other supported APIs) rather than SMTP AUTH.

If SMTP AUTH is disabled for a newly created Outlook.com/Hotmail mailbox, there is no configuration switch available to the account owner to re-enable it; the only option is to change the application to use a supported modern auth flow.


References:

AI-generated content may be incorrect. Read our transparency notes for more information.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.