qaz@lemmy.world to Programmer Humor@programming.devEnglish · 2 days agoMo Validation Mo Problemslemmy.worldimagemessage-square54linkfedilinkarrow-up1343arrow-down13file-text
arrow-up1340arrow-down1imageMo Validation Mo Problemslemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · 2 days agomessage-square54linkfedilinkfile-text
minus-squaregegil@sopuli.xyzlinkfedilinkarrow-up75·2 days agoThe best email validation is just sending an email to whatever provided by the user. If user receives an email and validates it, than its validated.
minus-squarebestboyfriendintheworld@sh.itjust.workslinkfedilinkarrow-up1·2 hours agoEmail validation for a form should at most look for at least one character followed by @ followed by at least one character followed by . followed by at least two characters Sending an email can take a few minutes. Form validation is instant.
minus-squarekunaltyagi@programming.devlinkfedilinkarrow-up10·1 day agoEmail address spec is convoluted and this is indeed the best way. Noobs and ninja do it this way, normies try to validate before sending email
The best email validation is just sending an email to whatever provided by the user. If user receives an email and validates it, than its validated.
Email validation for a form should at most look for
Sending an email can take a few minutes. Form validation is instant.
Email address spec is convoluted and this is indeed the best way. Noobs and ninja do it this way, normies try to validate before sending email