PHP Classes

works great on localhost

Recommend this page to a friend!

      Verify e-mail  >  All threads  >  works great on localhost  >  (Un) Subscribe thread alerts  
Subject:works great on localhost
Summary:But fails on my godaddy server - HELP
Messages:6
Author:R Stewart
Date:2015-09-22 00:45:47
 

  1. works great on localhost   Reply   Report abuse  
Picture of R Stewart R Stewart - 2015-09-22 00:45:48
I GET:::

Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to tcp://gmail-smtp-in.l.google.com:25 (Connection refused) in /home/content/58/11077658/html/receipt/class.verifyEmail.php on line 255
gmail-smtp-in.l.google.com:Connection refused

Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to tcp://alt1.gmail-smtp-in.l.google.com:25 (Connection refused) in /home/content/58/11077658/html/receipt/class.verifyEmail.php on line 255
alt1.gmail-smtp-in.l.google.com:Connection refused

Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to tcp://alt2.gmail-smtp-in.l.google.com:25 (Connection refused) in /home/content/58/11077658/html/receipt/class.verifyEmail.php on line 255
alt2.gmail-smtp-in.l.google.com:Connection refused

Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to tcp://alt3.gmail-smtp-in.l.google.com:25 (Connection refused) in /home/content/58/11077658/html/receipt/class.verifyEmail.php on line 255
alt3.gmail-smtp-in.l.google.com:Connection refused

Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to tcp://alt4.gmail-smtp-in.l.google.com:25 (Connection refused) in /home/content/58/11077658/html/receipt/class.verifyEmail.php on line 255
alt4.gmail-smtp-in.l.google.com:Connection refused
All connection fails

  2. Re: works great on localhost   Reply   Report abuse  
Picture of Konstantin Granin Konstantin Granin - 2015-09-22 04:38:51 - In reply to message 1 from R Stewart
You should find that the connection blocks. can be in the port is closed (firewall) or disabled external connections.

I get

220 mx.google.com ESMTP rc10si18057727lbb.160 - gsmtp
Connection success gmail-smtp-in.l.google.com
HELO granin.me
250 mx.google.com at your service
MAIL FROM: <[email protected]>
250 2.1.0 OK rc10si18057727lbb.160 - gsmtp
RCPT TO: <[email protected]>
250 2.1.5 OK rc10si18057727lbb.160 - gsmtp
RSET
QUIT
email <[email protected]> exist!

  3. Re: works great on localhost   Reply   Report abuse  
Picture of Renato Renato - 2016-11-11 18:03:54 - In reply to message 1 from R Stewart
Hi
I'm testing the script but I don't know how can I do for run it from localhost.
It works fine online but since I need to validate my email I can't run it anymore.
Thanks
Renato

  4. Re: works great on localhost   Reply   Report abuse  
Picture of Konstantin Granin Konstantin Granin - 2016-11-11 20:22:40 - In reply to message 3 from Renato
hi.
pls set $vmail->Debug= TRUE;
and show me debug output

  5. Re: works great on localhost   Reply   Report abuse  
Picture of Renato Renato - 2016-11-12 06:56:47 - In reply to message 4 from Konstantin Granin
554 mxcm01.ad.aruba.it bizsmtp 6urt1u0093Qow7j01 Connection refused from 79.21.55.158. See http://www.spamhaus.org/query/bl?ip=79.21.55.158 for more information.
All connection fails
email <[email protected]> valid, but not exist!

550 smtp-27.iol.local smtp-27.iol.local IP blacklisted by Spamhaus, http://www.spamhaus.org/query/ip/79.21.55.158 [smtp-27.iol.local; LIB_101]
All connection fails
email <[email protected]> valid, but not exist!

  6. Re: works great on localhost   Reply   Report abuse  
Picture of Konstantin Granin Konstantin Granin - 2016-11-12 19:54:58 - In reply to message 5 from Renato
Your IP blocked. Because it believe a spammer
Go to http://www.spamhaus.org/query/bl?ip=79.21.55.158 for more information.