The outgoing(SMTP) status is always disabled. When I am trying to change to enable and save, it is showing message, XOAUTH2 authentication mechanism not supported
arunkgovind
Sounds like you don’t have something configured right or the host/port is blocked on your end.
Cheers.
Is it the solution to use basic authentication
No, if you are using Gmail/Microsoft then basic auth is disabled. You need to post more information as far as the app setup, api permissions, host/port, etc. Basically as much info as possible so we can attempt to help.
Thank you very much. We have hosted osTicket version 1.18.2 in cPanel. host : smpt.office365.com port : 587
Sounds like SMTP may be restricted. Contact your host to see if they allow external SMTP.
As yesterdays checking in the site, it seems sometime emails are sending and sometime not. Can u suggest in the php code where I can check the email sending option
Many different places. What emails aren’t sending exactly?
Today what happenned is that, when creating ticket, the person who is generating ticket is getting email, but the person who assigned the ticket is not getting email
The SMTP settings are automatically disabled in the outgoing email section.
Well you need SMTP to reliably send mail unless you are using sendmail on the server. So you should double check that. Secondly, you should check Admin Panel > Settings > Tickets > Alerts & Notices to ensure the New Ticket Alert is enabled for the relevant recipients. You should also check to make sure the Ticket Assignment Alert (in the same area) is enabled for the relevant recipients.
Here is our alerts guide:
Good morning. Now I created a ticket against my collogue, I got the email notification immediately, but she doesn't.
The alert settings is
Yea you need to check your SMTP settings. Looks like it’s getting blocked or something. If you are using a hosting provider reach out to them and ask if they allow external SMTP.
Hi thanks for the update. Can i have the detailed SMTP settings to make os ticket send email using office 365
Please read my post above. Seems like your host is blocking it. Reach out to your host for assistance.
THanks for the information. For getting more clarity :-
In the datanase table OST_EMAIL_ACCOUNT in the column :- LAST_ERROR_MSG the value is Credentials: invalid_request the time of update of this value in the table is the time when an email was supposed to send.
Yes, that means the auth is failing. So you didn't setup something right, or client secret expired, etc. No way for me to tell as I don't run your system.