I apologize if this is the wrong place, but I'm trying to use Gmail's SMTP server for sending email with my phpBB3 based forum. I get the error below:
I'm thinking that either fsockopen isn't allowed, or its a problem with phpBB3 or its on Gmail's end.
Any help is greatly appreciated. :happysad:
Line 835 in functions_messenger.php is:
[phpBB Debug] PHP Notice: in file /includes/functions_messenger.php on line 835: fsockopen() [function.fsockopen]: SSL operation failed with code 1. OpenSSL Error messages:
error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
[phpBB Debug] PHP Notice: in file /includes/functions_messenger.php on line 835: fsockopen() [function.fsockopen]: Failed to enable crypto
[phpBB Debug] PHP Notice: in file /includes/functions_messenger.php on line 835: fsockopen() [function.fsockopen]: unable to connect to tls://smtp.gmail.com:587 (Unknown error)
PHP:
$smtp->socket = fsockopen($config['smtp_host'], $config['smtp_port'], $errno, $errstr, 20);
Any help is greatly appreciated. :happysad:
Last edited: