Hi All,
I'm trying to configure a Remote Mailbox for create ticket on email received on a mailbox, I configured the OAuth Authentication by following the guide and all seems ok but when I'm going to configure the POP parameter it return the error as the image below. I tried also to reconfigure the mailbox and the App on Azure but nothing changed.
Maybe I'm missing some procedure but I don't know how to find the error



EDIT:
I add also the configuration of the system

    flimby

    Are you able to check your error logs to see if anything was logged there? Have you checked your Admin Panel > Dashboard > System Logs for any related errors? Can you connect to that host and port from the server's cli? Can you confirm POP3 is enabled at the email account level in O365 and that you added the POP3 permission in the Azure app as well as provided admin consent for it?

    Cheers.

    6 days later

    Did you get this working flimby?

    I have the same problem as you but with windows server 2022, php 8.1, mysql 8

    I think I even get the token but no mail actually flows. Going to work on that this week all being well.

      Zer0reZ77

      To confirm you have a token click Config next to Authentication in the email's Remote Mailbox tab and make sure you see a Token tab. If so, you have a token. If not, you need to get a token before proceeding further.

      Once you have a token make sure Status is set to Enabled and Save Changes in the email's Remote Mailbox tab. If that saves successfully then IMAP/POP was able to authenticate. If not you will see errors that you need to fix.

      Once that’s been saved you need to make sure you enable email fetching at the system level (Admin Panel > Emails > Settings > Email Fetching > check the box for Enable > Save Changes).

      Once that’s done the last step is to setup a cron job/scheduled task to automatically poll the mailbox without human intervention:

      @"KevinTheJedi"

      Thanks for that, oddly enough I arrived at that documentation myself think there was a popup in the config. The main problem I think, it was the account, it had a stupid MFA strength setup was getting stuck asking for more information. Being a federated account I needed to add federated password + software token to the list to get a full authentication to work. Once I was able to get in to office.com with it the token side of things is issued and like you say I've got a token tab, which I hope renews as it appears to be a 24 hr window. It's working like a champ now as far as I can see.

      Thanks again for the help.

      Write a Reply...