question

SkipHofmann-5788 avatar image
0 Votes"
SkipHofmann-5788 asked KaelYao-MSFT commented

Relay smtp.office365.com

Hello all

I have a server that is failing to relay through smtp.office365.com on port 587. Below is the error i am receiving . I have verified that the username and password are correct. When i look at the azure sign-in log files it is showing that the account is able to log in successfully for SMTP, however the error below is suggesting that the account is failing to log in. Any help in is greatly appreciated

"The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 Client not authenticated to send mail. Error: 535 5.7.3 Authentication unsuccessful [TYWPR01CA0028.jpnprd01.prod.outlook.com]"



office-exchange-online-itprooffice-exchange-server-connectivity
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

KaelYao-MSFT avatar image
0 Votes"
KaelYao-MSFT answered KaelYao-MSFT commented

Hi @SkipHofmann-5788

Here is a link about the several possible cause of this issue: Error: Authentication unsuccessful
Please also have a check if the security default is enabled in the tenant.


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @SkipHofmann-5788

Just checking in to see if above information was helpful. Please let us know if you would like further assistance.

0 Votes 0 ·
michev avatar image
1 Vote"
michev answered

Is SMTP client submission enabled for the account? Check via:

 Get-CASMailbox mailboxname | select SmtpClientAuthenticationDisabled

and make sure to also check the tenant-wide setting:

 Get-TransportConfig | select SmtpClientAuthenticationDisabled

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.