
Hi Asad,
I hope you are doing well.
I am also using imap_open on PHP but using Basic Auth and running out of time to shift it to Modern Auth.
Can you please help me out and explain how you created the app and its settings and how you allowed user to use the application?
Also, do you run the php script as a cron job?
I would highly appreciate if you could help me out.
Thank you.