Topic: Email notifications not working, using your own server and SMTP mail

When you are using your own server and you are using SMTP mail to send email notifications, and no notifications are sent, then use the smtptest.php script to test your SMTP mail settings. You can find the file smtptest.php in the LuxCal download zip-file -> toolbox.zip -> smtpmail.
When you use the smtptest.php tool and you get error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed, then maybe the link https://github.com/composer/composer/issues/3346 could be of help.

I've also copied the post with the solution below.
Roel

github wrote:

Finally I found the answer wink
First: Check the certificate file location which will be in default_cert_file key, you will find it in openssl_get_cert_locations() it's php openssl function:

$ php -r "print_r(openssl_get_cert_locations());"
Array
(
    [default_cert_file] => /opt/lampp/share/openssl/cert.pem
    [default_cert_file_env] => SSL_CERT_FILE
    [default_cert_dir] => /opt/lampp/share/openssl/certs
    [default_cert_dir_env] => SSL_CERT_DIR
    [default_private_dir] => /opt/lampp/share/openssl/private
    [default_default_cert_area] => /opt/lampp/share/openssl
    [ini_cafile] => 
    [ini_capath] => 
)

Second: Download http://curl.haxx.se/ca/cacert.pem:

$ wget [url]http://curl.haxx.se/ca/cacert.pem[/url]

Third: Copy certificate PEM file into default_cert_file location:

$ sudo mv cacert.pem /opt/lampp/share/openssl/cert.pem

My php-cli is under XAMPP and default_cert_file maybe point to some place that is different than this.
I hope anything after that should go fine with you brothers.