email_verifier
email_verifier copied to clipboard
Timeouts and a records
This includes a couple of cleanups, reduces timeouts (30/60 secs is usually too long), and will also fallback to the A record in case no MX record is given (as per RFC).
Other than the thing I commented on above, I noticed that it stopped working for me.
irb(main):002:0> EmailVerifier.check "[email protected]"
EmailVerifier::NoMailServerException: No mail server for [email protected]
While the version from master just works:
irb(main):002:0> EmailVerifier.check "[email protected]"
=> true
It can't be merged in at this moment. Could you take a look and provide any fixes? I like the change — it would be great to have it in master.
Thanks
Thanks for reviewing it. I just tried the check you posted, and it seems to work fine for me? Could you try once more to make sure it wasn't some strange DNS issue? Otherwise I'll try to dig a bit deeper...