Código:
Warning: stream_socket_client() [function.stream-socket-client]: SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number in C:\xampp\htdocs\engine\mail\SMTP.php on line 107
Warning: stream_socket_client() [function.stream-socket-client]: Failed to enable crypto in C:\xampp\htdocs\engine\mail\SMTP.php on line 107
Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to tls://mail.messagingengine.com:587 (Unknown error) in C:\xampp\htdocs\engine\mail\SMTP.php on line 107
Warning: stream_socket_client() [function.stream-socket-client]: Failed to enable crypto in C:\xampp\htdocs\engine\mail\SMTP.php on line 107
Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to tls://mail.messagingengine.com:587 (Unknown error) in C:\xampp\htdocs\engine\mail\SMTP.php on line 107
La línea es la siguiente:
Código:
$conn = ($context == null) ? stream_socket_client($prt.'://'.$host.':'.$port, $errno, $errstr, $tout) : stream_socket_client($prt.'://'.$host.':'.$port, $errno, $errstr, $tout, STREAM_CLIENT_CONNECT, $context);
Antes funcionaba bien con el SMTP de google, pero ahora no que lo he cambiado a Fastmail (El sistema de correo funciona bien desde clientes mail).