3 ms·
Dot in domain part? That's too restrictive. A few TLDs have MX records. There's no reason to reject an address like, say, "postmaster@ws" - it's a perfectly va
by drdaeman 12y ago
Dot in domain part? That's too restrictive.
A few TLDs have MX records. There's no reason to reject an address like, say, "postmaster@ws" - it's a perfectly valid address that could be actually working.
And why bother validating anything beyond the fact string's non-empty and there's "@" character? Shoot an email, if they receive it — it's a valid address (no matter how weird it may look), if they don't — well, it's not like something bad happened.