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...