I need to authenticate a 365 mailbox with our website using phpmailer, this doesn't work no matter the settings, tennant or account status (admin etc) and O365 support can provide no clear or helpful path to resolving the issue. Using any other email account works perfectly.
I've tried a variety of different port/encryption setups, the account credentials are correct, the mailbox in question is a full tenant admin etc. The results all fail for slightly different reasons.
I've encountered this issue before and received similarly unhelpful responses from support - the last time I ended up setting up a mail account specifically for the website on an alternative domain.
Has anyone encountered something similar?
>There was a problem while sending a test email. Related debugging output is shown below: