Hey all,
I've been browsing these forums/issues for quite some time, and I was able to find others who had this kind of problem. However, none of their solutions worked for me.
(Yes, I followed the INSTALL.txt file exactly, just to get that out of the way.)
When I try to enable this module within Administer/SiteConfig/SMTP I set up my settings like this:
(I'm hosting with Godaddy if that helps. I know they are fairly terrible, I had no say in that.)
-------------------------------------------
SMTP Server: smtp.gmail.com
SMTP port: 465
Use encrypted protocol: Use SSL
-------------------
SMTP Authentication
Username: (Gmail Username@gmail.com)
Passworrd: (Gmail Password)
-----------------------------------
The full error I get when it tries to send an email is this:
* warning: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.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 D:\Hosting\5673687\html\modules\smtp\smtp.module on line 2079.
* warning: fsockopen() [function.fsockopen]: unable to connect to ssl://: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 D:\Hosting\5673687\html\modules\smtp\smtp.module on line 2079.
OK, so two errors. But they look fairly similar.
Any ideas? What other info do you need?
And no, at no point have I actually gotten an email from my site.
Thanks for any help!
-Nate
Comments
Comment #1
tscadfx commentedDon't know if I can help but I tested gmail just a few seconds ago to tried to replicate the issue that you are describing ... my settings which made for a successful email are as follows:
SMTP server: smtp.gmail.com
SMTP backup server:
SMTP port: 465
Use encrypted protocol: SSL
Username: MyUsername (without @gmail.com)
Password: MyPassword
E-mail from address: MyUsername@gmail.com
E-mail from name: MyUsername
These settings return a success for me. If you still have issues after verifying the above information please post the debug printout. It sounds like it could be an issue where godaddy (or their outsourced hosting provider) is blocking that port.
Edit 05/31/10 12:44PM PST - Further research led me to find that godaddy has some issues with fsockopen. Do a general google search for the two and you'll find that you're not the only one with issues. Many of the issues seam to stem from their php support, or lack of, on the iis side of things. Is your hosting iis or linux?
Comment #2
NateTheGreat555 commentedHey, and thanks for the reply!!
My Godaddy account is using IIS 7.0. I tried using your settings (didn't use the @gmail.com), and still got the same error. I'm guessing that's the problem. I'll try to do more research, but since I'm still new, I'm thankful for any tips!
Comment #3
akalata commentedComment #4
antoniotorres commentedI think this is an issue with godaddy not allowing the php functions it needs to run.
fsockopen() [function.fsockopen]: unable to connect to :2082 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/content/96/3975196/html/sites/all/modules/smtp/phpmailer/class.smtp.php on line 122.
(php_network_getaddresses: getaddrinfo failed: Name or service not known)
Comment #5
computer_jin commentedI am also trying to use fsockopen() function for smpp connection and using godaddy hosting on port no : 8888 but still no luck .
you guys solved the issue with godaddy ?
Let me know if anyone able to solve this issue .....
Thanks in Advance
Comment #6
wundo commentedClosing very old (dead) issues, if you think this is still relevant please re-open.