Question
Kurt Hofman · Aug 5

Caché & Office 365 (POP3/IMAP)

Hello,

Is it possible to read an Office 365-mailbox over POP3 with OAUTH.

Basic authentication doesn't work anymore.

Regards,

Kurt Hofman,

ASCI nv.

 

Product version: Caché 2018.1
0
0 194
Discussion (4)2
Log in or sign up to continue

Kurt, please open a WRC for this question.

Thank you,

Stefan

Hello,

i receiving several mails via "EmailInboundAdapter” and sending via "EmailOutboundAdapter"

Now Microsoft will force OAuth 2.0 for Outlook365-Mails and want to drop POP3 basic authentication permanetly at Oct/1 2022. All have to use OAuth 2.0 then.

IRIS documentation is very tiny for OAuth 2.0: https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...

A new paramter for a token is defined for "%Net.POP3.Connect()". But the token got only on authenication calls using ClientID and ClientSecret (last one valid for maximum 24 months). There is not support for OAuth 2.0 on EmailInboundAdapter, i think.

Is it be possible to implement an own Adapter using “%Net.POP3.Connect()” with tokens? Does anyone have experiance using OAuth 2.0 for Microsoft Outlook 365?

Many thanks for any hint or help!

https://community.intersystems.com/post/oauth-20-mail-pop3smtp#comment-1...