ckishappy wrote:I have the same 0.181 version on chriskeller.ch and polaschin.ch. I did a new install for chriskeller.ch and copied the content over to polaschin.ch. for chriskeller.ch I can send the email/contact form and for polaschin.ch. From an ISP perspective both are using the the same php / apache settings.. Any idea?
Same X3 settings, same server environment, but not exactly the same server. Works on one, but not the other, so it would be related to something on one server. My guess is that it's either missing openSSL extension, or it's a firewall issue.
Can you login to your panel, and check tools -> phpinfo, search for openSSL:
Can you enable smtp debugging at bottom of smtp settings?
We use the industry-standard
PHPmailer for sending mail.
https://github.com/PHPMailer/PHPMailer/ ... leshooting
"SMTP Error: Could not connect to SMTP host."
This may also appear as SMTP connect() failed or Called Mail() without being connected in debug output. This is often reported as a PHPMailer problem, but it's almost always down to local DNS failure, firewall blocking or other issue on your local network. It means that PHPMailer is unable to contact the SMTP server you have specified in the Host property, but doesn't say exactly why. It can also be caused by not having the openssl extension loaded (See encryption notes below).
I also seem to remember you were using SSL and port 465?
As for what kind to use, the answer is generally simple: Don't use SSL on port 465, it's been deprecated since 1998 and is only used by Microsoft products that didn't get the memo; use TLS on port 587 instead:
I also see the server that doesn't work is PHP 5.6:
PHP 5.6 certificate verification failure
In a change from earlier versions, PHP 5.6 verifies certificates on SSL connections. If the SSL config of the server you are connecting to is not correct, you will get an error like this:
If you enable debug, we might be able to catch the exact reason. You can use the developer tools -> network inspector in your browser to view the loaded mailer file, and read the debug output by clicking it.