SMTP Mail server is failing
Original Question or Issue:
Having error when doing Test Email from Admin Portal > Settings > Email, due to the SSL Verification error.
Environment:
- Product - FileClous Server
- Version - Any
- Platform - Any
Steps to Reproduce:
Error or Log Message:
Filecloud Server Logs Snippet:
3:Connection failed. Error #2: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed [C:\xampp\htdocs\thirdparty\vendor\phpmailer\phpmailer\src\SMTP.php line 468]
4:SMTP Error: Could not connect to SMTP host.
Defect or Enhancement Number:
Cause:
Resolution or Workaround:
Add the below flag to C:\xampp\htdocs\config\cloudconfig.php or /var/www/html/config/cloudconfig.php define("TONIDOCLOUD_SMTP_OMIT_CERT_VERIFY", true);
Notes: