Unable to connect to gmail smtp
-
For testing my website, I am using url: https://localhost:81/mywords/
I have configured WP Mail Bank, Details Entered:
>> From Email, From Name, Mail Type: Via SMTP, SMTP Host: smtp.gmail.com, SMTP Port: 465, Encryption: Use SSL, Athentication: Use SMTP, SMTP email address, SMTP password.>> I also tried with Port: 587 with use TSL Encryption
>> I have enabled IMAP and POP from my gmail account.
but still I am getting error message as below:
Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array ( ‘ssl’ =>
array (
‘verify_peer’ => false,
‘verify_peer_name’ => false,
‘allow_self_signed’ => true,
),2015-10-22 06:20:14 SMTP -> get_lines(): $data is “221 2.0.0 closing connection im9sm12310101pbc.1 – gsmtp
“
2015-10-22 06:20:14 SERVER -> CLIENT: 221 2.0.0 closing connection im9sm12310101pbc.1 – gsmtp
2015-10-22 06:20:14 Connection: closed
2015-10-22 06:20:14 SMTP Error: Could not authenticate.Can you please check the same. If you want I can send you the complete error message.
- The topic ‘Unable to connect to gmail smtp’ is closed to new replies.