in my php coding i have following line which uses by SWIFT MAILER Class
if(!stream_socket_enable_crypto($this->smtp_conn, true, STREAM_CRYPTO_METHOD_TLS_CLIENT)) {
return false;
}
however rarely (not always) i get following php error
stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
i am not sure where the problem is or should i ignore this as this happens only once in a while