I know that this has been asked a couple times on this forum, but none of the solutions provided worked for me.
The issue:
We have an OpenCart v3.0.2.0 running. Today, our hoster has disabled the TLS 1.0 and 1.1 versions. Since then, every time we do something on our OpenCart that triggers and email (registering a new account, finishing an order) fails and results in this message:
Code: Select all
Fatal error: Uncaught exception 'Exception' with message 'Error: EHLO not accepted from server!' in /var/www/vhosts/join-together.de/shop.join-together.de/system/library/mail/smtp.php:157
I've tried removing the tls://, changing it to ssl:// (and changing the port to 465 of course), nothing works. Also tried forcing .php with the "curl_setopt($curl, CURLOPT_SSLVERSION, 6);".
What does work is changing the SMTP to php.Mail (the first dropdown). However, Google rejects emails that have been send this way (because they're lacking DKIM or SPF authentication).
Had anyone this issue before and knows how to fix it? What do I need to change in order to make email work again (preferrably the smtp version)?
In case it helps, I wrote this short .php script that reads the current TLS version - it's 1.2 it seems: https://shop.join-together.de/test_tsl.php