Don't use regular expressions to "validate" email addresses (was: Ineed some help with a regexp please)

Damjan gdamjan at gmail.com
Fri Sep 22 08:18:44 EDT 2006


>> you'd create something to allow anyone to
>> potentially spam the hell out of a system...
> 
> I'm sorry, but I fail to see how validating (or not) an email address
> could prevent using a webmail form for spamming. Care to elaborate ?

The best way would be to implement some limiting features. Try two times
from the same IP address in less than 10 minutes and you are banned for the
day. Or some such.


-- 
damjan



More information about the Python-list mailing list