TheBigRoomXXL@leminal.space to Programmer Humor@programming.devEnglish · 2 months agoEveryone knows what an email address is, right? (Quiz)e-mail.wtfexternal-linkmessage-square155linkfedilinkarrow-up1909arrow-down18
arrow-up1901arrow-down1external-linkEveryone knows what an email address is, right? (Quiz)e-mail.wtfTheBigRoomXXL@leminal.space to Programmer Humor@programming.devEnglish · 2 months agomessage-square155linkfedilink
minus-squareTomasEkeli@programming.devlinkfedilinkarrow-up14·edit-22 months agoAlmost correct. ^.+@.+$ Too hard to validate properly to be worth it. Even if it is technically valid that’s insufficient. It must also work, and the easiest way to test that is to use it and verify that the user got what we sent.
minus-squareGreenKnight23@lemmy.worldlinkfedilinkarrow-up5·2 months agoI see you accept lemmy handles.
minus-squareTomasEkeli@programming.devlinkfedilinkarrow-up10·2 months agoif i can email them and the user gets it - fine by me
minus-squareTomasEkeli@programming.devlinkfedilinkarrow-up4·1 month agoWould pass first validation, but fail when we try to send an email. Successfully failed.
Almost correct. ^.+@.+$
Too hard to validate properly to be worth it. Even if it is technically valid that’s insufficient. It must also work, and the easiest way to test that is to use it and verify that the user got what we sent.
I see you accept lemmy handles.
if i can email them and the user gets it - fine by me
@@@
Would pass first validation, but fail when we try to send an email.
Successfully failed.