Comment on Strings do too many things

<- View Parent
ono@lemmy.ca ⁨9⁩ ⁨months⁩ ago

Checking MX in your application means you needlessly fail on transient outages, like when a DNS server is rebooting or a net link hiccups. When it happens, this is likely to confuse or frustrate the user, will definitely waste their time, and may drive them away and/or generate support calls.

Also, MX records are not always needed for mail to be delivered.

Better to just hand the verification message off to your mail server, which knows how to handle these things. You can flag the address if your mail server refuses to accept it.

source
Sort:hotnewtop