Programmers with network engineering skills
mike at mtcc.com
Mon Mar 12 16:42:52 CDT 2012
On 03/12/2012 02:32 PM, Owen DeLong wrote:
> Whenever I've built code to check someone's email address on a form, I always just looked for the following: 1. matches ^[^@][email protected][A-Za-z0-0\-\.]+[A-Za-z]$ 2. The component to the right of the @ sign returns at least one A, AAAA, or MX record. If it passed those two checks, I figured that was about as good as I could do without resorting to one of the following: 1. An incomprehensible and unmaintainable regex as the one above 2. Actually attempting delivery to said address Owen
"'I know, I'll use a regular expression!' now you have two problems."
More information about the NANOG