Steve Ellenoff <> wrote:
> Does anyone have some nearly fullproof code to validate an email
> address for proper syntax?
>
> I have continually tweaked some code over the years to prevent user
> entered email addresses from being input which are wrong so as to
> lessen the # of failed messages sent, but I still haven't been able
> to get something that is 100% perfect. I was wondering if someone had
> already solved this problem perhaps better than me.
Were you just validating an @ sign or were you going for the actual domain
name being legit as well?
[EMAIL PROTECTED] should that be legit or fail?
Stephen Russell
DBA / .Net Developer
Memphis TN 38115
901.246-0159
"A good way to judge people is by observing how they treat those who
can do them absolutely no good." ---Unknown
http://spaces.msn.com/members/srussell/
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.6.5/793 - Release Date: 5/7/2007 2:55
PM
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.