How to Configure and Setup PHPMailer to Read Bounce Emails using oAuth2 From Outlook365

@duncanc, thank you, now with the new settings/changes, things seem to be working, but now I am experiencing the following:

If I process 100 bounces, once it finishes, I cannot run another. I get the below where it seems the process of the previous run hasn’t stopped yet.

phpList - A process for this page is already running and it was still alive 568 seconds ago

UPDATE:
probably I should wait a bit longer since I am sure PHPList is in the middle of processing the data. We can ignore my above observation.

@arbialexandri That message means that a previous run did not complete successfully, and left a row in the phplist_send_process table.

When the process completes successfully it removes the row. But when it fails the row remains and that stops another run of the same page until 600s has elapsed.