TheBigRoomXXL@leminal.space to Programmer Humor@programming.devEnglish · 21 days agoEveryone knows what an email address is, right? (Quiz)e-mail.wtfexternal-linkmessage-square15linkfedilinkarrow-up112arrow-down10
arrow-up112arrow-down1external-linkEveryone knows what an email address is, right? (Quiz)e-mail.wtfTheBigRoomXXL@leminal.space to Programmer Humor@programming.devEnglish · 21 days agomessage-square15linkfedilink
minus-squaremaxwells_daemon@lemmy.worldlinkfedilinkEnglisharrow-up0·21 days agoI don’t care who the IRS sends, I am not validating emails with spaces on them.
minus-squaretyler@programming.devlinkfedilinkarrow-up0·21 days agoYou shouldn’t be validating emails yourself anyway. Use a library or check for only the @ and then send an email confirmation.
minus-squarezurohki@aussie.zonelinkfedilinkEnglisharrow-up1·21 days agoEven if it’s a completely valid address and the domain exists, they still might’ve fat fingered the username part. Going to extreme lengths to validate email addresses is pointless, you still have to send an email to it anyway.
I don’t care who the IRS sends, I am not validating emails with spaces on them.
You shouldn’t be validating emails yourself anyway. Use a library or check for only the
@
and then send an email confirmation.Even if it’s a completely valid address and the domain exists, they still might’ve fat fingered the username part. Going to extreme lengths to validate email addresses is pointless, you still have to send an email to it anyway.