Hi, Good morning!

I'm facing an issue with outgoing emails in osTicket v1.17-rc2 (d821546). When trying to send a test email, I get the following error message:

🚨 "Error sending email - Please try again!"

/var/logs/apache2/error.log
sh: 1: /usr/sbin/sendmail: not found
After checking the logs, I noticed that modern authentication (OAuth2) is required for my email provider. The system shows:
"osTicket OAuth2 Plugin is required for Modern Authentication support."
Steps I Took:
Installed the OAuth2 plugin in osTicket.
Configured OAuth2 with Google by entering the Client ID and Client Secret in the settings.
Clicked Save Changes – but after that, the page goes blank!
Troubleshooting Steps I’ve Tried So Far:
✔ Enabled SMTP Debugging in osTicket
✔ Checked the server error logs but no clear issues
✔ Verified that the Client ID and Client Secret are correct
✔ Tried reloading the page, but still blank
Questions:
Has anyone else faced this issue where the page goes blank after saving OAuth2 settings?
How can I debug and fix this issue?
Do I need to modify any PHP settings or install additional dependencies for OAuth2 to work properly?