#1 2024-09-18 09:44:02

aguiral
Member
Registered: 2017-11-30

SMTP outlook.com basic authentication

Hello,

since yesterday, our mails sent from ReportServer (versions RS3.0.3-6000 CE and RS4.6.1-6098 CE) are giving errors.

When trying to send to SMTP server (outlook.com), mails are being refused giving this error:

Caused by: javax.mail.AuthenticationFailedException: 535 5.7.139 Authentication unsuccessful, basic authentication is disabled. [MA3P292CA0009.ESPP292.PROD.OUTLOOK.COM 2024-09-18T09:25:58.315Z 08DCD4EF15313DF1]


Current configuration for mail.cf is


<?xml version="1.0" encoding="UTF-8"?>
<configuration>
   <smtp>
      <host>smtp-mail.outlook.com</host>
      <port>587</port>
      <username>username@outlook.com</username>
      <password>password</password>
      <ssl>false</ssl>
      <tls>
         <enable>true</enable>
         <require>false</require>
     </tls>
   </smtp>
   <mail>
      <senderName>ReportServer</senderName>
      <sender>username@outlook.com</sender>
      <forceSender>true</forceSender>
      <encryptionPolicy>allow_mixed</encryptionPolicy>
   </mail>
</configuration>

I have tried changing several combinations for "ssl, tls, enable, require", but no way.

Could you please help ?

Thanks

Alfredo

Offline

#2 2024-09-18 09:54:00

eduardo
Administrator
Registered: 2016-11-01
Website

Re: SMTP outlook.com basic authentication

Hi Alfredo,

A quick search suggests that Outlook has deprecated basic authentication, as outlined in this link:
Deprecation of Basic Authentication in Exchange Online: https://learn.microsoft.com/en-us/excha … nge-online
However, this specifically applies to Exchange Online, and I’m not certain if it affects ReportServer as well. Regardless, we’ve raised ticket RS-8658 and will investigate further.

Regards,
Eduardo

Offline

#3 2024-09-18 09:57:08

aguiral
Member
Registered: 2017-11-30

Re: SMTP outlook.com basic authentication

Thanks Eduardo,

yes, we know it.

The matter is to have a workaround to be able to send messages as it has happened until yesterday.

Alfredo

Offline

#4 2024-09-18 10:00:18

eduardo
Administrator
Registered: 2016-11-01
Website

Re: SMTP outlook.com basic authentication

Hi Alfredo,

what exactly do you mean with "we know it"? If you have more information pls post it here as it will be very helpful.

Regards,
Eduardo

Offline

#5 2024-09-18 11:32:09

aguiral
Member
Registered: 2017-11-30

Re: SMTP outlook.com basic authentication

Excuse me Eduardo.

We know it = we know that Outlook has deprecated basic authentication.

Alfredo

Offline

Board footer

Powered by FluxBB