I'm using Drupal 6.16 and Gmail.

SMTP Servers:
smtp.googlemail.com
smtp.gmail.com
SMTP Port: 465
Encryption: SSL
Username: emailAccount[at]gmail.com
Password: **********
From Email: emailAccount[at]gmail.com

When I save settings with a test "to" email, the email goes through (it is also a Gmail account) but it takes a good bit of time and I get this error:

warning: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.googlemail.com :465 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ) in C:\my\website\drupal\sites\all\modules\smtp\phpmailer\class.smtp.php on line 122.

Comments

HS’s picture

Where did you get "smtp.googlemail.com" from?

It's using "smtp.gmail.com" to send it because you have listed it as back up SMTP server and at the same time it's telling you that it can't connect to "smtp.googlemail.com".

Info: http://mail.google.com/support/bin/answer.py?answer=13287

akalata’s picture

Status: Active » Closed (fixed)