Hey guys, we're trying to get TLS enabled here, but having some problems...
Running VB 3.6.0, PHP 5.1.6.
We definitely have OpenSSL compiled in, I compiled it myself along with PHP once again... Here is a clip from phpinfo:
We're getting the following error when we try to send email using TLS... Here's the error:
Line 603 is this:
We're running OpenSSL 0.9.8c, which is the newest available version, and we had the same issue with an older version of OpenSSL. We're running Debian 3.1 (Sarge).
Any ideas? It'd be MUCH appreciated!
Running VB 3.6.0, PHP 5.1.6.
We definitely have OpenSSL compiled in, I compiled it myself along with PHP once again... Here is a clip from phpinfo:
Code:
openssl OpenSSL support enabled OpenSSL Version OpenSSL 0.9.8c 05 Sep 2006
Code:
Warning: fsockopen() [function.fsockopen]: SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number in /includes/class_mail.php on line 603 Warning: fsockopen() [function.fsockopen]: Failed to enable crypto in /includes/class_mail.php on line 603 Warning: fsockopen() [function.fsockopen]: unable to connect to tls://smtp.gmail.com:587 (Unknown error) in /includes/class_mail.php on line 603 Warning: Unable to connect to SMTP server in /includes/class_mail.php on line 585
Code:
$this->smtpSocket = fsockopen($this->smtpHost, $this->smtpPort, $errno, $errstr, 30);
Any ideas? It'd be MUCH appreciated!
Comment