Failure to Send Emails
Original Question or Issue:
Failure to Send Emails
Environment:
- Product - FileCloud Server
- Version - Any
- Platform - Any
Steps to Reproduce:
Error or Log Message:
SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:0A000086:SSL routines::certificate verify failed
Defect or Enhancement Number:
Cause:
Resolution or Workaround:
Add the following line to the cloudconfig.php file:
``
define("TONIDOCLOUD_SMTP_OMIT_CERT_VERIFY", 1);
`
File location:
- **Windows:** drive letter:\xampp\htdocs\config\cloudconfig.php
- **Linux:** /var/www/html/config/cloudconfig.php`
After adding the configuration, save the file and test the email functionality in FileCloud.
Notes: