Sending mail using GMail

Status
Not open for further replies.

DizzyTechnology

New Member
Messages
500
Reaction score
0
Points
0
I have Google Apps for my domain set up at my site, dizzytechnology.com. I have set up Drupal, and installed an SMTP authentication module to access a site@dizzytechnology.com account that I use to send mail.

It tried to send a message when I set it up, and I get this:
Code:
warning: fsockopen() [[URL="http://www.dizzytechnology.com/drupal/admin/settings/function.fsockopen"]function.fsockopen[/URL]]: unable to connect to ssl://smtp.gmail.com:465 (Connection timed out) in /home/myusername/public_html/drupal/modules/smtp/smtp.module on line 1878.

warning: fsockopen() [[URL="http://www.dizzytechnology.com/drupal/admin/settings/function.fsockopen"]function.fsockopen[/URL]]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/myusername/public_html/drupal/modules/smtp/smtp.module on line 1878.

warning: fsockopen() [[URL="http://www.dizzytechnology.com/drupal/admin/settings/function.fsockopen"]function.fsockopen[/URL]]: unable to connect to ssl://:465 (Unknown error) in /home/myusername/public_html/drupal/modules/smtp/smtp.module on line 1878.

I have it similarly set up in Mambo and SMF, and now that I think of it, I've never received any mail from those software... :biggrin:.

I have gleaned from a search that this is because of your firewall... is there any way to get this working?

EDIT: I can not confirm that this is occurring in SMF as well. Error logs contain items like:

Code:
fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to ssl://smtp.gmail.com:465 (Connection timed out)
File: /home/zacwal/public_html/forums/Sources/Subs-Post.php
Line: 973

Could not connect to SMTP host: 110 : Connection timed out
 
Last edited:

Corey

I Break Things
Staff member
Messages
34,553
Reaction score
204
Points
63
Looks like it is trying to use a port that is not open in our firewall. I would guess that is the issue.

-Corey
 

Corey

I Break Things
Staff member
Messages
34,553
Reaction score
204
Points
63
443 is SSL as far as I know.
 

DizzyTechnology

New Member
Messages
500
Reaction score
0
Points
0
Okay, then. I've heard that. However, GMail sends SMTP mail through ports 465 or 587. I dunno if it would be too much trouble to unblock, I'm just asking. It used to work without flaw.
 

Corey

I Break Things
Staff member
Messages
34,553
Reaction score
204
Points
63
I unblocked the ports, can you try again and post back any errors?
 

Corey

I Break Things
Staff member
Messages
34,553
Reaction score
204
Points
63
Great. Closing this thread, please re open if you need further assistance.

-Corey
 
Status
Not open for further replies.
Top