× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Mon, 11 Nov 2002, Dan wrote:

> I have a new application in which the user types in an email address.
>
> Besides checking for a single '@', a single '.', and no blanks, are
> there any other things that I should be checking for when validating an
> email address for correct syntax?

You could always get the bat book (the sendmail book from O'Reilly
http://www.ora.com).  It contains all the rules used to handles addresses
of all types (including UUCP if you need to know).  You probably wouldn't
care about 97% of it, but the chapter on address rewriting talks about
just what you are trying to do.

James Rich



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.