<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[LuxCal Web Calendar — Email notifications not working, using your own server and SMTP mail]]></title>
		<link>https://www.luxsoft.eu/lcforum/viewtopic.php?id=10</link>
		<atom:link href="https://www.luxsoft.eu/lcforum/extern.php?action=feed&amp;tid=10&amp;type=rss" rel="self" type="application/rss+xml"></atom:link>
		<description><![CDATA[The most recent posts in Email notifications not working, using your own server and SMTP mail.]]></description>
		<lastBuildDate>Sun, 04 Mar 2018 17:21:15 +0000</lastBuildDate>
		<generator>PunBB 1.4.4</generator>
		<item>
			<title><![CDATA[Email notifications not working, using your own server and SMTP mail]]></title>
			<link>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=10#p10</link>
			<description><![CDATA[<p>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 -&gt; toolbox.zip -&gt; smtpmail.<br>When you use the smtptest.php tool and you get <strong>error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed</strong>, then maybe the link <a href="https://github.com/composer/composer/issues/3346" target="_blank">https://github.com/composer/composer/issues/3346</a> could be of help.</p><p>I&#039;ve also copied the post with the solution below.<br>Roel</p><div class="quotebox"><cite>github wrote:</cite><blockquote><p>Finally I found the answer <img src="https://www.luxsoft.eu/lcforum/img/smilies/wink.png" width="15" height="15" alt="wink"><br><strong>First</strong>: Check the certificate file location which will be in default_cert_file key, you will find it in openssl_get_cert_locations() it&#039;s php openssl function:</p><div class="codebox"><pre><code>$ php -r &quot;print_r(openssl_get_cert_locations());&quot;
Array
(
    [default_cert_file] =&gt; /opt/lampp/share/openssl/cert.pem
    [default_cert_file_env] =&gt; SSL_CERT_FILE
    [default_cert_dir] =&gt; /opt/lampp/share/openssl/certs
    [default_cert_dir_env] =&gt; SSL_CERT_DIR
    [default_private_dir] =&gt; /opt/lampp/share/openssl/private
    [default_default_cert_area] =&gt; /opt/lampp/share/openssl
    [ini_cafile] =&gt; 
    [ini_capath] =&gt; 
)</code></pre></div><p><strong>Second</strong>: Download <a href="http://curl.haxx.se/ca/cacert.pem:" target="_blank">http://curl.haxx.se/ca/cacert.pem:</a></p><div class="codebox"><pre><code>$ wget [url]http://curl.haxx.se/ca/cacert.pem[/url]</code></pre></div><p><strong>Third</strong>: Copy certificate PEM file into default_cert_file location:</p><div class="codebox"><pre><code>$ sudo mv cacert.pem /opt/lampp/share/openssl/cert.pem</code></pre></div><p>My php-cli is under XAMPP and default_cert_file maybe point to some place that is different than this.<br>I hope anything after that should go fine with you brothers.</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (Roel)]]></author>
			<pubDate>Sun, 04 Mar 2018 17:21:15 +0000</pubDate>
			<guid>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=10#p10</guid>
		</item>
	</channel>
</rss>
