3 ms·
As others have said, there are better ways to ensure you get a valid email address other than making the user type it twice. In real life, there will ALWAYS be
by kiallmacinnes 13y ago
As others have said, there are better ways to ensure you get a valid email address other than making the user type it twice.
In real life, there will ALWAYS be people who manage to typo the same thing twice, there will always be mailservers who respond with "250 Recipient Ok" for bad emails, there will always be domains with MX records but without a mailserver.
The difference with each of these validations is who performs the validations, keeping the validation automated and between YOU and the destination mail server administrators is a much better choice IMO.
- Dylan16807 13y ago> there will always be domains with MX records but without a mailserver. Ouch, that sounds like a pain to deal with. But I will mention that MX records are not required, so don't forget about the opposite situation where they have a mailserver and no MX.
- kawsper 13y agoIf there are no MX records for a domain the mail should be delivered to the A-record. If there are MX records for the domain, but mail delivery to it fails, it should not try to deliver to the A-record. http://tools.ietf.org/html/rfc2821#section-5 http://tools.ietf.org/html/rfc2821#section-5
- mcv 13y agoThere's really only one good way to validate email addresses: send a mail to it, and let the user respond to something in that mail. If you don't do that, it could still be someone else's email address, or an address nobody reads. If it's really that important, use it to check that it works.
- jamesbritt 13y agoYesterday I started getting someone else's K-Mart and Sears receipts. Today I discovered I have an account on Roblox.com. I'm going to guess that in both cases someone managed to enter not-their-email-address twice, correctly. "Valid address" really means "the person who in fact gets mail at that address asked to get that mail."