We are using imap_open() PHP function to connect and read outgoing and incoming emails (to,from,subject and time) and record them on our custom built CMS for recording emails sent and received by our clients.
Problem is Microsoft is shifting to Modern Authentication and imap_open() with outlook.office365.com will not work anymore.
I need step by step procedure to enable Modern Authentication and use imap_open() or other function to connect to mailboxes.
Looking for help!
Thank you.