Sending mail via Gmail's SMTP Server? (fsockopen)

bob124082

New Member
Messages
13
Reaction score
0
Points
0
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:


[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)
Line 835 in functions_messenger.php is:

PHP:
$smtp->socket = fsockopen($config['smtp_host'], $config['smtp_port'], $errno, $errstr, 20);
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:
 
Last edited:

bob124082

New Member
Messages
13
Reaction score
0
Points
0
Not to rush or anything, but I was wondering if there was any updates on this?

It still throws the same error as in the first post.
 
Top