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

Damjan gdamjan at
Fri Sep 22 14:18:44 CEST 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.


More information about the Python-list mailing list