News for hackers. Stuff that matters.
Re:How faulty checking for valid email addresses can hurt you by mtpark on Thursday June 11, 2009 @10:20AM (#652758)
There's no way to get around invalid email addresses. Anybody can put in something like [email protected] and it would pass most regex checks. I think the best solution is to just check for an "@" sign and a "." after it.
Re:How faulty checking for valid email addresses can hurt you by eli on Thursday June 11, 2009 @11:32AM (#652860)
Yup, I deal with a lot of email data at work and this is pretty much what I do. People try to get way too clever with their validation (I pity anyone stuck with an email at a .museum TLD), and the spambots will just put real-looking fake ones anyway.