Mail with Office365

This forum is for eXpress++ general support.
Post Reply
Message
Author
skiman
Posts: 1185
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Mail with Office365

#1 Post by skiman »

Hi,

Anyone who has some experience with mailing with Office365 and oAuth2.0?

It isn't possible anymore to send via SMTP and authentication with username and password. I modified my code to use the oAuth 2.0 method, and everything works well.

The only problem we have is that we need to authorize for every email address in a company. Each user has to give permission. This means a user has to login to his/her Microsoft account and to give permission to our app. In some companies this is a problem, since not each employee has access to that Microsoft account.

I was wondering if I do something wrong, or if there is another solution to grant permission for all users at one time.
Best regards,

Chris.
www.aboservice.be

MIGUELON
Posts: 135
Joined: Wed Feb 10, 2010 10:55 am

Re: Mail with Office365

#2 Post by MIGUELON »

Hi skiman, I use https://www.marshallsoft.com/see4xb.htm form Xbase++
And I have no problem sending with Microsoft Office 365.

skiman
Posts: 1185
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: Mail with Office365

#3 Post by skiman »

Hi,

Are you using the 'old' SMTP way? Microsoft is changing everything to oAuth2.0 for the authentication. Microsoft is shutting down legacy authentication. The moment this happens at your customers site, smtp authentication won't work anymore.
Best regards,

Chris.
www.aboservice.be

skiman
Posts: 1185
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: Mail with Office365

#4 Post by skiman »

Hi,

More info about the topic.

https://learn.microsoft.com/en-us/excha ... nge-online
... Beginning in early 2023, we will disable Basic authentication for any tenants who requested an extension. You can read more about the timing here.
Best regards,

Chris.
www.aboservice.be

MIGUELON
Posts: 135
Joined: Wed Feb 10, 2010 10:55 am

Re: Mail with Office365

#5 Post by MIGUELON »

Hello Skiman, I do not have this problem with Office 365 but I am investigating the LINK that you sent me
If I have any news I will post it
regards

Post Reply