XF 2.3 Open SSL errors

Upgraded to XenForo 2.3.4 and mail is now failing. Using PHP 8.3 on Ubuntu 20.20. Using both Mail Gun and Gmail SMTP gives same error. I'm tried 25, 465 and 587 for ports.

Code:
[LIST]
[*]Symfony\Component\Mailer\Exception\TransportException: Email to *****@*******.com from ****@****** failed: Connection could not be established with host "ssl://smtp.gmail.com:465": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:0A00010B:SSL routines::wrong version number
[*]src/vendor/symfony/mailer/Transport/Smtp/Stream/SocketStream.php:154
[/LIST]
[LIST]
[*]Generated by: Admin
[*]Nov 17, 2024 at 3:02 PM
[/LIST]
 
Upgraded to XenForo 2.3.4 and mail is now failing. Using PHP 8.3 on Ubuntu 20.20. Using both Mail Gun and Gmail SMTP gives same error. I'm tried 25, 465 and 587 for ports.

Code:
[LIST]
[*]Symfony\Component\Mailer\Exception\TransportException: Email to *****@*******.com from ****@****** failed: Connection could not be established with host "ssl://smtp.gmail.com:465": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:0A00010B:SSL routines::wrong version number
[*]src/vendor/symfony/mailer/Transport/Smtp/Stream/SocketStream.php:154
[/LIST]
[LIST]
[*]Generated by: Admin
[*]Nov 17, 2024 at 3:02 PM
[/LIST]
Did you ever discover a solution for this issue? Your setup sounds very similar to mine and I've been banging my head against this problem all day. Outbound mail was working on 2.3.3 and appears to have broken when we upgraded to 2.3.4.
 
Back
Top Bottom