We're currently running OSticket in a Windows 2016 virtual machine. Here's our server information.
osTicket Version v1.14.6 (cc2f481)
Web Server Software Apache/2.4.48 (Win64) OpenSSL/1.1.1k PHP/7.4.21
MySQL Version 10.4.20
PHP Version 7.4.21
I get notified that agents were not receiving email notifications on some (not all) tickets that were being created. There are times when I would verify the SMTP configuration and it would be successful, I am able send a test email. Other times, it would fail and I'm not sure why.
I looked at the System Logs and I would see several "Mailer Error" messages:
![](https://forum.osticket.com/assets/files/2021-08-17/1629220348-596037-2021-08-17-10-10-12-osticket-admin-control-panel.png)
![](https://forum.osticket.com/assets/files/2021-08-17/1629220348-643228-2021-08-17-10-10-32-osticket-admin-control-panel.png)
Unable to email via php mail function:"MyAnalytics" mail() returned failure
I'm not sure how to address this issue. Any of your expert advice would be appreciated.