this is the 3rd time that happens. Does not last an entire day. If I reauthenticate the OAuth it starts working again for a few hours. The interesting part is that its only for sending emails. Still receiving emails that open tickets.
Error from OSTicket dashboard:
Mailer Error
Unable to email via Sendmail Unable to send mail: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
So I updated the php.ini
originally had this:
SMTP = localhost
smtp_port = 25
Modified to:
SMTP = outlook.office365.com
smtp_port = 587
Then get this error:
Mailer Error
Unable to email via Sendmail Unable to send mail: mail(): SMTP server response: 451 5.7.3 STARTTLS is required to send mail [MN2PR15CA0043.namprd15.prod.outlook.com 2024-10-11T15:26:20.479Z 08DCE9AB2383BB83]
So after this error decided to Reauthenticate once again and just like before, starts working again.
What am I missing here?
Thanks!