Office 365 - SMTP can't authenticate

procc 16 Reputation points
2020-10-21T16:18:32.07+00:00

Hi

When I try to connect to Office365 SMTP server, I get this error:

Server returned error: "334 VXNlcm5hbWU6 334 UGFzc3dvcmQ6 535 5.7.3 Authentication unsuccessful [BN6PR14CA0013.namprd14.prod.outlook.com] , code: 535"
When I try to connect to POP server, it works without a problem.
If I try to connect to SMTP server with user@ssss .onmicrosoft.com it works without a problem, but if I try to connect with user@ssss .com it gives me error.
Checked many settings in "Microsoft 365 admin center", I think everywhere SMTP is turened on, and should work.
But maybe I missed some setting?

Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
5,222 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,514 questions
{count} votes

16 answers

Sort by: Most helpful
  1. Lydia Zhou - MSFT 2,376 Reputation points Microsoft Employee
    2020-10-27T06:47:10.117+00:00

    @procc

    Does user@ssss .onmicrosoft.com still work when you use Outlook to setup POP account?
    Do other users have the same issue when they setup POP account with Outlook client side?
    Are there any modification in your organization before this issue?

    Please check if you have created any authentication policy to block basic authentication for Authenticated SMTP. If so, you have to use email clients and apps supporting modern authentication to setup POP/IMAP account. Please check this for more details: Disable Basic authentication in Exchange Online.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

  2. Kennedy, William 6 Reputation points
    2021-01-22T03:31:55.903+00:00

    any luck with this?
    i am also having the same error. i tried the ping thing but that didnt work

    1 person found this answer helpful.

  3. Jeff 16 Reputation points
    2021-02-13T22:04:50.687+00:00

    Same problem when trying to setup "Send Mail As" alias in Gmail. Error is: Authentication failed. Please check your username/password. Server returned error: "334 VXNlcm5hbWU6 334 UGFzc3dvcmQ6 535 5.7.3 Authentication unsuccessful [MN2PR13CA0006.namprd13.prod.outlook.com] , code: 535"

    It previously worked for 2 years+ but stopped working last week. I have tried the CMD ping instructions and this doesn't work either.

    1 person found this answer helpful.
    0 comments No comments

  4. Charlotte Dune 6 Reputation points
    2021-03-02T18:22:36.907+00:00

    Mine is also not working. I can recieve, but I can't send emails. I've tried everything to make it work and it is very frustrating to find it broken.

    1 person found this answer helpful.

  5. Andrii Maslov 31 Reputation points
    2021-03-03T21:15:22.217+00:00

    Got the same error for SMTP, but IMAP on the other hand returns "BAD User is authenticated but not connected". Started recently. Options for IMAP/SMTP are turned on in o365 admin center.

    1 person found this answer helpful.
    0 comments No comments

Your answer

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