Hi all
Reading around the forum, and elsewhere on the web, it seems that IMAP logins to Office 365 mailboxes can be troublesome. In the context of Limesurvey it can also be a problem for outgoing SMTP, but in my situation I am having difficulty with bounce processing via IMAP from LS 4.3.22+201019 (php 7.0) to Office 365 and am keen to see if anyone has any advice they can offer?
A very similar problem appears in the thread below from a couple of years ago, but alas no solutions then, but maybe someone has worked it out since?
forums.limesurvey.org/forum/installation...-working-for-bounces
Bounce processing works fine when connected to a different non-MS mailbox (although the UI button itself is broken in LS4 and you have to use the underlying URL to process bounces, but that's another story!) so I know that the basics are sound.
I am also able to happily connect to the relevant o365 mailbox via IMAP using Thunderbird, so I know the credentials are correct.
Finally, "basic authentication" is already enabled in o365, which is a bit like the "less secure apps" setting in gmail.
Try as I might however, I can't get Limesurvey to connect to process bounces and the error message I get back is:
Can not authenticate to IMAP server: AUTHENTICATE failed.
There is clearly some sort of authentication issue, but I can't work out how to troubleshoot it, or whether it is a Limesurvey problem or a PHP mail issue.
Anyone know an answer to this conundrum, or at the very least where in the php files or the db I could go to in order to start tinkering with IMAP settings under the hood?
Thanks in advance for anyone who can shed any light on this for me!