Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PHPMailer & TLS 1.2


imusorka

Recommended Posts

Running 2.3.4 on PHP 5.6.14 and right after switching to TLS 1.2 causes the following warnings to spring up when the cart is trying to send mail (e.g. order status updates, order confirmation).

Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number in /home/xxx/public_html/xxx/includes/classes/class.smtp.php on line 344

Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/xxx/includes/classes/class.smtp.php:344) in /home/xxx/public_html/xxx/includes/functions/general.php on line 38

This appears to be a PHP-related issue. What is the correct PHP config to make PHPMailer play nicely with TLS 1.2?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...