Do everything async and this will only be a "problem" if you're already offline.
Sent from my iPhone
On Jul 7, 2015, at 9:27 PM, Patrick Narkinsky <[address removed]> wrote:
To validate the domain name, just do a DNS MX request on the hostname (the part after the @). If you get a valid response, the hostname is valid. That's going to be much more "future proof" than anything using a fix list of GTLDs.
On Tue, Jul 7, 2015 at 6:07 PM Tony Primerano <[address removed]> wrote:
Depending on volume of requests, your best bet may be to try to
connect to the user's mail server.
There also appears to be a gem that queries the remote mail server
now that might be worth a try.
https://github.com/kamilc/email_verifier -- you may be able to do
something simpler with Net::SMTP
When possible I'd rely on the underlying linux libraries to let me
know an email address is bad.
Tony
On 07/07/[masked]:01 PM, Camille Bell
wrote:
I'm
looking for a email validater needs to support
international email addresses on an optional Rails email
field.
The gems
validates_email_format_of and email_validator both seem to
have some issues.
Does
anyone have good experience with one of these or can
recommend another gem?
thanks,
Camille
--
Please Note: If you hit "REPLY", your message
will be sent to everyone on this mailing
list ([address removed])
This message was sent by Camille Bell ([address removed]) from
DC
Ruby Users Group.
To learn more about Camille Bell, visit his/her member
profile
To report this message or block the sender, please click
here
Set my mailing list to email me As
they are sent | In
one daily email | Don't
send me mailing list messages
Meetup,
POB 4668 #37895 NY NY USA 10163 | [address removed]
--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Patrick Narkinsky ([address removed]) from DC Ruby Users Group.
To learn more about Patrick Narkinsky, visit his/her member profile
To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages
Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]