GMAIL SMTP ERROR

Status
Not open for further replies.

tabletcl

New Member
Messages
5
Reaction score
0
Points
1
hi i am using codeigniter and gmail smtp.
in my localhost it works fine but when I uploaded it, it keeps on giving me this error:

A PHP Error was encountered

Severity: Warning

Message: fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Connection timed out)

Filename: libraries/Email.php

Line Number: 1690


An Error Was Encountered
The following SMTP error was encountered: 110 Connection timed out
Unable to send data: AUTH LOGIN
Failed to send AUTH LOGIN command. Error:
Unable to send data: MAIL FROM:

I was wondering if this is a server error or ISP error. Thank you!
Any help would be appreciated. :)
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
All outgoing mail must go through x10Hosting's outbound spam filters; external SMTP is not allowed on Free Hosting.
 

tabletcl

New Member
Messages
5
Reaction score
0
Points
1
Is there anyway that i could do a work around to send email? Using this awesome fre hosting? Thanks a bunch for the replies.
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi,

Absolutely! You can send emails through the standard PHP mail() function (rather than using SMTP) and this should work correctly. Your account already has its own internal email address that emails will be sent from by default, but you can create email accounts from cPanel if you would like to use that instead.

Thank you,
 
Status
Not open for further replies.
Top