SMTP problem (PHPMailer & Gmail)

Status
Not open for further replies.

Myokram

New Member
Messages
30
Reaction score
0
Points
0
AdFree account (Lotus).

I'm trying to send emails from a PHP script using PHPMailer and a Gmail account, and I get this error:

Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (Connection timed out) in /home/myokram/public_html/mailer/class.smtp.php on line 122
It's strange. When i signed up in x10Hosting a couple of weeks ago I tried to do that, and it worked fine, now, same script with no changes since that time, and I get this error. So I think there was a configuration change server-side.

In localhost my script works fine.

Hope you can help me.

P.D.: I'm with PHP v2

Greetings!
 
Last edited:
Status
Not open for further replies.
Top