TheBigRoomXXL@leminal.space to Programmer Humor@programming.devEnglish · 16 hours agoEveryone knows what an email address is, right? (Quiz)e-mail.wtfexternal-linkmessage-square105linkfedilinkarrow-up1647arrow-down16
arrow-up1641arrow-down1external-linkEveryone knows what an email address is, right? (Quiz)e-mail.wtfTheBigRoomXXL@leminal.space to Programmer Humor@programming.devEnglish · 16 hours agomessage-square105linkfedilink
minus-squaremaxwells_daemon@lemmy.worldlinkfedilinkEnglisharrow-up39arrow-down1·8 hours agoI don’t care who the IRS sends, I am not validating emails with spaces on them.
minus-squaretyler@programming.devlinkfedilinkarrow-up15·7 hours 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-up7·6 hours 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.
This is the way.