I have not configured remote mailbox only the outgoing smtp, so I configure remote mailbox? And if it doesn't work, do I do the link?

    AlfonsoPC

    Well don't configure Remote Mailbox tab if you aren't planning on using it. I was just wondering if you've already configured OAuth2 for that as you can just reuse the same auth info instead of configure OAuth2 in 2 separate places.

    At this point I'd recommend following the instructions I linked in the above post.

    Cheers.


    I continue with the same problems, I already followed the steps to solve these errors but they still appear.

      AlfonsoPC

      Set status to Disabled, save changes, set it to Enabled, and save changes.

      Cheers.

      I followed the steps, I only load the fields where I saved being disabled, however it generates the record but it continues to show the same error when I re-enable and save.

        AlfonsoPC

        Then maybe you didn’t configure the app correctly in O365. Make sure you followed the documentation exactly as described.

        If all else fails look at the mail logs on your webserver to see where it’s failing. Unfortunately I’m unable to replicate this so I can’t be of much help without more information/logs.

        Cheers.

        Indeed, all the configuration is correct according to the document that he gave me.



          AlfonsoPC

          Then I'm at a loss. Everything seems correct here... Maybe try disabling Authenticated SMTP and re-enabling it for the email (in O365 Admin Center)? We have seen in rare cases before that we had to do this with IMAP for some users but never SMTP; but you never know.

          Cheers.

          If I don't have this in the php.ini added, it gives me an error when sending or answering a ticket, I don't know how this system works that doesn't work for me in both configurations.

            AlfonsoPC

            PHPMail/Sendmail is used as a fallback (last resort) when SMTP fails. So this shouldn't be necessary once you get SMTP working.

            Maybe try disabling Authenticated SMTP and re-enabling it for the email (in O365 Admin Center)?

            Are you using localhost or a domain name with HTTPS configured? If HTTPS, are you using a certificate from a trusted CA or a certificate from a local CA (self-signed)?

            Cheers.

            AlfonsoPC

            Okay, that should be fine then. Did you try this:

            Maybe try disabling Authenticated SMTP and re-enabling it for the email (in O365 Admin Center)?

            Cheers.

            6 days later

            Hello, I managed to solve it, everything was fine, I just needed to enable a personalized policy in the company's firewall so that the equipment would go out through port 25 and 587 and that's it, it let me save the SMTP configuration.

              a year later

              AlfonsoPC Hi AlfonsoPC, I'm in the same situation as you, but I can't figure out how to fix it. Could you tell me what policy you customized in the firewall? Thanks!

              Write a Reply...