So I can't get my drupal site to send out e-mails (contact form, creating users, etc..)
I downloaded SMTP Authentication Support & extracted the phpmailer 5.1 into a phpmailer folder inside SMTP folder which is in /sites/all/modules/ just like the readme.txt says...
So I've tried using all the combinations with Godaddy e-mail (which I'd like to use) as well as Gmail (just to try to get something going)
Side note: I always use a test e-mail when I configure, and randomly get an e-mail that goes through, but ALWAYS get an error message.
Here is using: relay-hosting.secureserver.net, port 25, no encryption, smtp authentication using my full address@domainname & password, using same e-mail for "email from" option.
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "220 p3nlsmtp01.shr.prod.phx3.secureserver.net ESMTP "
SMTP -> get_lines(): $data is "220 p3nlsmtp01.shr.prod.phx3.secureserver.net ESMTP "
SMTP -> FROM SERVER:220 p3nlsmtp01.shr.prod.phx3.secureserver.net ESMTP
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250-p3nlsmtp01.shr.prod.phx3.secureserver.net "
SMTP -> get_lines(): $data is "250-p3nlsmtp01.shr.prod.phx3.secureserver.net "
SMTP -> get_lines(): $data was "250-p3nlsmtp01.shr.prod.phx3.secureserver.net "
SMTP -> get_lines(): $str is "250-PIPELINING "
SMTP -> get_lines(): $data is "250-p3nlsmtp01.shr.prod.phx3.secureserver.net 250-PIPELINING "
SMTP -> get_lines(): $data was "250-p3nlsmtp01.shr.prod.phx3.secureserver.net 250-PIPELINING "
SMTP -> get_lines(): $str is "250-SIZE 31457280 "
SMTP -> get_lines(): $data is "250-p3nlsmtp01.shr.prod.phx3.secureserver.net 250-PIPELINING 250-SIZE 31457280 "
SMTP -> get_lines(): $data was "250-p3nlsmtp01.shr.prod.phx3.secureserver.net 250-PIPELINING 250-SIZE 31457280 "
SMTP -> get_lines(): $str is "250 8BITMIME "
SMTP -> get_lines(): $data is "250-p3nlsmtp01.shr.prod.phx3.secureserver.net 250-PIPELINING 250-SIZE 31457280 250 8BITMIME "
SMTP -> FROM SERVER: 250-p3nlsmtp01.shr.prod.phx3.secureserver.net 250-PIPELINING 250-SIZE 31457280 250 8BITMIME
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "502 unimplemented (#5.5.1) "
SMTP -> get_lines(): $data is "502 unimplemented (#5.5.1) "
SMTP -> ERROR: AUTH not accepted from server: 502 unimplemented (#5.5.1)
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 flushed "
SMTP -> get_lines(): $data is "250 flushed "
SMTP -> FROM SERVER:250 flushed
SMTP Error: Could not authenticate.
Here is using the same settings as above but changing it to smtpout.secureserver.net
SMTP -> ERROR: Failed to connect to server: Connection timed out (110)
SMTP Error: Could not connect to SMTP host.
Here is using gmail settings, smtp.gmail.com, port 465, use ssl, using myemail@gmail.com & password, suing same e-mail for "email from" option.
SMTP -> ERROR: Failed to connect to server: Connection timed out (110)
SMTP Error: Could not connect to SMTP host.
Any help is appreciated.. I've tried a lot of different port options, but am open to trying anything!!
Comments
The highest support version
The highest support version of phpmailer by smtp.module is 2.2.1
http://sourceforge.net/projects/phpmailer/files/phpmailer%20for%20php5_6...
Hope it helps.
Hills Web
tried that.. gmail settings:
tried that..
gmail settings:
warning: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (Connection timed out) in /home/content/e/y/a/eyazdi/html/sites/all/modules/smtp/phpmailer/class.smtp.php on line 122.
warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/content/e/y/a/eyazdi/html/sites/all/modules/smtp/phpmailer/class.smtp.php on line 122.
warning: fsockopen() [function.fsockopen]: unable to connect to ssl://:465 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/content/e/y/a/eyazdi/html/sites/all/modules/smtp/phpmailer/class.smtp.php on line 122.
Unable to send e-mail. Please contact the site administrator if the problem persists.
godaddy using smtpout.secureserver.net
warning: fsockopen() [function.fsockopen]: unable to connect to smtpout.secureserver.net:25 (Connection timed out) in /home/content/e/y/a/eyazdi/html/sites/all/modules/smtp/phpmailer/class.smtp.php on line 122.
warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/content/e/y/a/eyazdi/html/sites/all/modules/smtp/phpmailer/class.smtp.php on line 122.
warning: fsockopen() [function.fsockopen]: unable to connect to :25 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/content/e/y/a/eyazdi/html/sites/all/modules/smtp/phpmailer/class.smtp.php on line 122.
Unable to send e-mail. Please contact the site administrator if the problem persists.
Well, it looks like
Well, it looks like networking issues (or configuration) on the host. Have you tried their own SMTP server? It'll either work or give you a different error maybe.
Hills Web
Meaning trying it without the
Meaning trying it without the SMTP module? Yes and it doesn't work.. But I called Godaddy and they said everything is fine on their end..
No, meaning trying it with
No, meaning trying it with Godaddy's smtp server instead of Gmail
Hills Web
I've tried both and neither
I've tried both and neither work!
At this point I'll use anything as long as it works!
This post was also made today
This post was also made today http://drupal.org/node/1064822 by another GoDaddy user. He is also having STMP problems.
Leads me to believe that GoDaddy either changed something or broke something and the techs you talked to don't realize it.
Wow, this is ridiculous..
Wow, this is ridiculous..
So I'm trying to just get
So I'm trying to just get gmail working since I need something...
warning: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (Connection timed out) in /home/content/e/y/a/eyazdi/html/sites/all/modules/smtp/phpmailer/class.smtp.php on line 122.
warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/content/e/y/a/eyazdi/html/sites/all/modules/smtp/phpmailer/class.smtp.php on line 122.
warning: fsockopen() [function.fsockopen]: unable to connect to ssl://:465 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/content/e/y/a/eyazdi/html/sites/all/modules/smtp/phpmailer/class.smtp.php on line 122.
Unable to send e-mail. Please contact the site administrator if the problem persists.
Elastic Email Module as temporary solution
I haven't been able to get SMTP or phpmailer modules working on my numerous email accounts at godaddy which have died over the past month. I came across a module for elasticemail.com service and figured it is worth mentioning. I don't know enough to endorse the service, but it seems to have worked for me for a couple of days.
It seems that phpmailer and smtp modules need to be changed to meet the requirements of godaddy, hopefully somebody with the knowledge can change the message processing so that the contact form does not give godaddy email servers the impression of email account spoofing.
Here's what worked for me
I had the same problem. After contacting GoDaddy and scouring the forums, I finally found a combination of things that worked.
First of all, you must use the GoDaddy SMTP relay. They don't let you use the GMAIL one.
The SMTP address to put into the SMTP Authenticate module is: relay-hosting.secureserver.net with port 25. Do not put in a Username/Password, as GoDaddy does not require authentication to work. You will get an error if you do. If you have entered one previously, click the "restore defaults" button at the bottom of the module to clear it out.
Use the correct version of PHP Mailer (version 2.2.1). Also, there is patched code available for it that is in the SMTP Authenticate module download. The file is called "class.phpmailer.php.2.2.1.patch". Edit the "class.phpmailer.php" file in the PHP Mailer folder and remove code marked with a "-" and add code marked with a "+".
The last thing is your outbound email must use a GoDaddy registered "From" address. That's the only guarantee they provide that it will be sent. They definitely will not allow you to send an email from a Yahoo, Gmail, Hotmail, AOL, MSN or Live address.
After I did all these things, it began working.
Where can we find that patch
Where can we find that patch file??
And can you provide more detailed information about how to use the patch?
Found it and applied the
Found it and applied the patch...
Still doesn't work..
I don't know what to tell you
I don't know what to tell you. I had the same problem as the original poster. I followed the steps I outlined for 3 different websites and it has worked on all of them.
The weird thing now is that I
The weird thing now is that I can get it to send, but I (and the user will) still get an error message even though it goes through..
SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "220 p3nlsmtp02.shr.prod.phx3.secureserver.net ESMTP " SMTP -> get_lines(): $data is "220 p3nlsmtp02.shr.prod.phx3.secureserver.net ESMTP " SMTP -> FROM SERVER: 220 p3nlsmtp02.shr.prod.phx3.secureserver.net ESMTP SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250-p3nlsmtp02.shr.prod.phx3.secureserver.net " SMTP -> get_lines(): $data is "250-p3nlsmtp02.shr.prod.phx3.secureserver.net " SMTP -> get_lines(): $data was "250-p3nlsmtp02.shr.prod.phx3.secureserver.net " SMTP -> get_lines(): $str is "250-PIPELINING " SMTP -> get_lines(): $data is "250-p3nlsmtp02.shr.prod.phx3.secureserver.net 250-PIPELINING " SMTP -> get_lines(): $data was "250-p3nlsmtp02.shr.prod.phx3.secureserver.net 250-PIPELINING " SMTP -> get_lines(): $str is "250-SIZE 31457280 " SMTP -> get_lines(): $data is "250-p3nlsmtp02.shr.prod.phx3.secureserver.net 250-PIPELINING 250-SIZE 31457280 " SMTP -> get_lines(): $data was "250-p3nlsmtp02.shr.prod.phx3.secureserver.net 250-PIPELINING 250-SIZE 31457280 " SMTP -> get_lines(): $str is "250 8BITMIME " SMTP -> get_lines(): $data is "250-p3nlsmtp02.shr.prod.phx3.secureserver.net 250-PIPELINING 250-SIZE 31457280 250 8BITMIME " SMTP -> FROM SERVER: 250-p3nlsmtp02.shr.prod.phx3.secureserver.net 250-PIPELINING 250-SIZE 31457280 250 8BITMIME SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 ok " SMTP -> get_lines(): $data is "250 ok " SMTP -> FROM SERVER: 250 ok SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 ok " SMTP -> get_lines(): $data is "250 ok " SMTP -> FROM SERVER: 250 ok SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "354 go ahead punk, make my day " SMTP -> get_lines(): $data is "354 go ahead punk, make my day " SMTP -> FROM SERVER: 354 go ahead punk, make my day SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 ok 1298651193 qp 9988 by p3nlsmtp02.shr.prod.phx3.secureserver.net " SMTP -> get_lines(): $data is "250 ok 1298651193 qp 9988 by p3nlsmtp02.shr.prod.phx3.secureserver.net " SMTP -> FROM SERVER: 250 ok 1298651193 qp 9988 by p3nlsmtp02.shr.prod.phx3.secureserver.net SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "221 p3nlsmtp02.shr.prod.phx3.secureserver.net Goodbye. " SMTP -> get_lines(): $data is "221 p3nlsmtp02.shr.prod.phx3.secureserver.net Goodbye. " SMTP -> FROM SERVER: 221 p3nlsmtp02.shr.prod.phx3.secureserver.net Goodbye.
It's not an error message, I
It's not an error message, I think it's smtp.module debug message.
Try disabling it at admin/settings/smtp, there is a debugging check box just above the save configuration button.
Hills Web
This worked for me ..
..changing the email address in the site information to domain specific email id worked for me.
Ref http://drupal.org/node/1107992
7.14 in GD AP (Asia Pacific) hosting
I had to install SMTP module and use relay-hosting.secureserver.net (no auth) port 25 in order to send. From address was an email in same domain's free email hosting that I created, didn't try any others.