3 ms·
That one fails " "@example.com and test@example, both of which are legal. Also, since it relies on looking up MX records and then making an SMTP connection to
by kej 10y ago
That one fails " "@example.com and test@example, both of which are legal.
Also, since it relies on looking up MX records and then making an SMTP connection to check if the user exists, why not just send the confirmation email? You've already done all of the expensive stuff at that point.
- brightball 10y agoYou haven't had to bother the user yet. Also, shouldn't example.com fail?
- kej 10y agoI meant those both fail on the format check, when they are legal formats. You are correct that they should fail the MX portion.