PHP Classes

PROBLEME WITH 1 AND 1 SERVER

Recommend this page to a friend!

      PHP Email validation  >  All threads  >  PROBLEME WITH 1 AND 1 SERVER  >  (Un) Subscribe thread alerts  
Subject:PROBLEME WITH 1 AND 1 SERVER
Summary:CONNECTION
Messages:10
Author:Fady GERGES
Date:2014-08-14 07:45:39
 

  1. PROBLEME WITH 1 AND 1 SERVER   Reply   Report abuse  
Picture of Fady GERGES Fady GERGES - 2014-08-14 07:45:40
I haave problem
Resolving host name "mail.mailroute.net"...
> Connecting to host address "199.89.1.120"...
> Failed !!!!!

I can't making connection
can i have change my php.ini

  2. Re: PROBLEME WITH 1 AND 1 SERVER   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-08-14 07:55:56 - In reply to message 1 from Fady GERGES
That may happen if your hosting company is blocking outgoing connections to port 25. In that case, you cannot do anything if you are on a shared server. It may be possible to avoid that problem using a VPS account or moving to another hosting company.

Anyway, the port 25 connection is necessary to emulate an attempt to a SMTP delivery. It is not necessary to perform that step to make part of the types of the email validation that the class performs though.

  3. Re: PROBLEME WITH 1 AND 1 SERVER   Reply   Report abuse  
Picture of Fady GERGES Fady GERGES - 2014-08-14 08:36:51 - In reply to message 2 from Manuel Lemos
If i change port 25 with 587 !!

  4. Re: PROBLEME WITH 1 AND 1 SERVER   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-08-14 09:09:11 - In reply to message 3 from Fady GERGES
It would not work because when you send a message to somebody under a given domain, its SMTP server always receives messages in port 25.

  5. Re: PROBLEME WITH 1 AND 1 SERVER   Reply   Report abuse  
Picture of Fady GERGES Fady GERGES - 2014-08-14 09:23:42 - In reply to message 4 from Manuel Lemos
can you tel me how i can avoid this stap
thank you

  6. Re: PROBLEME WITH 1 AND 1 SERVER   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-08-14 20:52:34 - In reply to message 5 from Fady GERGES
Just do not call the ValidateEmailBox function.

If you call only the ValidateAddress function, it will still verify the email format and checks against whitelists and blacklists.

  7. Re: PROBLEME WITH 1 AND 1 SERVER   Reply   Report abuse  
Picture of Fady GERGES Fady GERGES - 2014-08-15 06:54:57 - In reply to message 6 from Manuel Lemos
thank you

  8. Re: PROBLEME WITH 1 AND 1 SERVER   Reply   Report abuse  
Picture of Fady GERGES Fady GERGES - 2014-08-20 14:55:24 - In reply to message 1 from Fady GERGES
Helo
now i have my VPS account
my problem is :
S 554 5.7.1 Client host rejected: cannot find your reverse hostname, [***.***.107.189]
Unable to validate the address with this host.
Thank you

  9. Re: PROBLEME WITH 1 AND 1 SERVER   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-08-21 08:53:53 - In reply to message 8 from Fady GERGES
That means that your server IP address does not match any domain address and so the tested SMTP server is refusing messages sent by your server.

You need to ask your host company to add the reverse DNS record for your server IP address.

  10. Re: PROBLEME WITH 1 AND 1 SERVER   Reply   Report abuse  
Picture of Fady GERGES Fady GERGES - 2014-08-21 12:05:04 - In reply to message 9 from Manuel Lemos
Mr Lemos
you are the best
now everything is back in order
thank you very much