Subj : emailval.js accepts incomplete email addresses To : nelgin From : Digital Man Date : Sat Aug 31 2024 06:36 pm Re: emailval.js accepts incomplete email addresses By: nelgin to Codefenix on Sat Aug 31 2024 12:45 am > Even better, it might be nice to have a method for sbbs to check if an email > is valid, since this could be used in other places. > > maybe valid_netmail(address) checks for user@ whatever valid formats > valid_email(address) - check for user@domain.tld See netaddr_type() at https://synchro.net/docs/jsobjs.html > valid_local(address) - checks user number, alias, handle and full name system.matchuser() should work for that. -- digital man (rob) Sling Blade quote #7: Karl: I don't reckon the Good Lord would send anybody like you to Hades. Norco, CA WX: 82.2øF, 55.0% humidity, 9 mph W wind, 0.00 inches rain/24hrs .