0 votes

Hi,

We use the mail component in an application which monitors a mailbox and performs actions on receipt of new mails. This has stopped working since Microsoft stopped supporting basic authentication. The article I found suggesting a workaround isn't possible for us as our 365 tenant is part of a larger organisation.

Is there a plan to support OAuth 2.0 and submit the component to Microsoft for approval so we can allow it specifically on the global tenant?

Thanks.

Tommie

by

1 Answer

0 votes

Mail.dll fully supports OAuth 2.0 and Office 365:

Daemons/Services: Client credential flow:
https://www.limilabs.com/blog/oauth2-client-credential-flow-office365-exchange-imap-pop3-smtp

Daemons/Services: Password grant (MFA/2FA must be turned off for this account):
https://www.limilabs.com/blog/oauth2-password-grant-office365-exchange-imap-pop3-smtp

Web apps (requires user interaction):
https://www.limilabs.com/blog/oauth2-web-flow-office365-exchange-imap-pop3-smtp

Standalone devices (requires very little interaction):
https://www.limilabs.com/blog/oauth2-device-flow-office365-exchange-imap-pop3-smtp

Desktop apps (requires user interaction):
https://www.limilabs.com/blog/oauth2-office365-exchange-imap-pop3-smtp

You can use any tenant you want.

Being part of a large organization is certainly not a problem. You should create an application in your AD and follow one of the above tutorials depending on what flow you need to use.

by (298k points)
...