Hello,
Osticket v 1.15.4
I'm unable to configure any SMTP email accounts in a fresh installation of OSTICKET.
Web Server Software Apache
MySQL Version 8.0.27
PHP Version 7.4.27
Server is hosted in our company's infrastructure.
I tried to set up an email account using an OFFICE365 account. I put in the account's User/password. I keep IMAP/POP disabled. I enabled smtp with smtp.office365.com port number is 587. When I click save, I keep getting error 535 incorrect authentification data. If I uncheck the "require authentification" check box, the settings are saved but the diagnostic test email is never received.
In the error logs, I get this : Mailer Error
Unable to email via SMTP:smtp.office365.com:587 [requetes@xxxxxxxx.ca] Failed to add recipient: jfxxxx@xxxxx.ca [SMTP: Invalid response code received from server (code: 550, response: SMTP AUTH is required for message submission on port 587)]
I tried setting up a gmail account to see if it would work. I followed your video to make sure every step was correct. I get the exact same issue.
We made sure that port 587 (and 25, because we also tried with port 25 in case) is open in our firewall. Our it dept. made a small smtp php script which they executed with the same settings on the same server where our OSTICKET is installed and the script is able to send a test email (which I received).
P.S. I also tried adding tls:// in front of smtp.office365.com as per an old thread's recommendation. Same problem.