I'm tired of people submitting invalid e-mail address and have 
created a perl subroutine to check the syntax of e-mail addresses in 
self defense. It doesn't check the actual mail server, but rather the 
syntax. 

     If you have a chance, please test it and see if you can get it to 
accept a bad address or reject of good address. It's at:

http://usats.com/cgi-bin/chk-mail.pl

      A few notes. It fixes some common errors, commas are replaced by 
periods (common compuseve error), trailing period removed, leading and 
trailing spaces removed. It also makes "educated guesses" for invalid 
formats.

     It does check if a three character top level domain is 
com, net, etc. It does not check for valid country codes. Should it?

      Also, it insists upon a "@" in an address. I know there can be a 
valid address without a "@" but I have seen one of those in a long time.

      Thanks

Urb, [EMAIL PROTECTED]

Visit America's Town Square. Creators of extraordinary Web sites.
http://www.usats.com   Build your own Home Page without knowing
any HTML. Many user selectable options. After creation, your page 
is e-mailed to you. http://usats.com/homepage

____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to