Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not Work #22

Open
mailparikshit opened this issue May 12, 2017 · 6 comments
Open

Does not Work #22

mailparikshit opened this issue May 12, 2017 · 6 comments
Labels

Comments

@mailparikshit
Copy link

i tried your code on different servers
it returns false for valid email too

@sadortun
Copy link

Port 25 is often blocked by "cheap" hosting provider, and about all cloud provider

@mailparikshit
Copy link
Author

i have tested this on my different Dedicated server where in and out emails are working fine.
i have port 25 open, this is not tested on shared hosting, it is dedicated server.

i tried checking email of yahoo, gmail, hotmail, rediffmail, all of them returns false

can you re-test this code and see if this is still working

@mezorba
Copy link

mezorba commented May 13, 2017

The code works as it should be. I tried it on several different dedicated and virtual servers too.

Can you set the debug property true and share the logs?

@zytzagoo zytzagoo added the FAQ label May 13, 2017
@zytzagoo
Copy link
Owner

Thanks for taking the time to report your issue.

You'll have to provide more info before anyone can even attempt to try to help you.

@mailparikshit
Copy link
Author

This is my Debug logs

MX records (yahoo.com): Array
(
[mta7.am0.yahoodns.net] => 1
[mta6.am0.yahoodns.net] => 1
[mta5.am0.yahoodns.net] => 1
[yahoo.com] => 0
)

Connecting to mta7.am0.yahoodns.net:25

Connect failed: Connection timed out, error number: 110, host: mta7.am0.yahoodns.net:25

Unable to connect. Exception caught: Cannot open a connection to remote host (mta7.am0.yahoodns.net:25)

Connecting to mta6.am0.yahoodns.net:25

Connect failed: Connection timed out, error number: 110, host: mta6.am0.yahoodns.net:25

Unable to connect. Exception caught: Cannot open a connection to remote host (mta6.am0.yahoodns.net:25)

Connecting to mta5.am0.yahoodns.net:25

Connect failed: Connection timed out, error number: 110, host: mta5.am0.yahoodns.net:25

Unable to connect. Exception caught: Cannot open a connection to remote host (mta5.am0.yahoodns.net:25)

Connecting to yahoo.com:25

Connect failed: Connection timed out, error number: 110, host: yahoo.com:25

Unable to connect. Exception caught: Cannot open a connection to remote host (yahoo.com:25)
array(2) { ["replacedmyemail@yahoo.com"]=> bool(false) ["domains"]=> array(1) { ["yahoo.com"]=> array(2) { ["users"]=> array(1) { [0]=> string(6) "replacedmyemail" } ["mxs"]=> array(4) { ["mta7.am0.yahoodns.net"]=> int(1) ["mta6.am0.yahoodns.net"]=> int(1) ["mta5.am0.yahoodns.net"]=> int(1) ["yahoo.com"]=> int(0) } } } }

@zytzagoo
Copy link
Owner

You can try increasing the connection timeouts, but the most likely thing is that the remote server is just dropping your connections and completely ignoring you.

I'm gonna have to suggest that you read through #8 and #3

You might wanna give https://github.com/hbattat/verifyEmail a go as well...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants