AFAIK, an IP address is a valid host in an email address. This RE does not
handle that.
I also thought that the mailbox name could only contain alphanumerics,
hyphens or underscores. But after reading this post and Googling the topic
I've found someone who claims that the following are all valid:
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789
!#$%&'*+-./=?^_`{|}~
I've looked over RFC 822 but I frankly can't make heads or tails of it. Can
anyone point to an official source that is clear and simple to understand?
I want my validation routines to be accurate.
Thanks,
Chris
-----Original Message-----
From: Ewok [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29, 2004 8:37 AM
To: CF-Talk
Subject: RE: Verify an email address from a query
That's news to me. Last I heard it was still 0-9 a-z A-Z . @ _ -
But if it is a valid character....
REFindNocase("^[\+_a-z0-9-]+(\.[\+_a-z0-9-]+)[EMAIL PROTECTED](\.[a-z0-9-]+)*\.((
[a-z]{2,3})|(aero|coop|info|museum|name))$", addr)
Or does it have to start with a letter or number first?
REFindNocase("^[a-z0-9]+[_a-z0-9-+]+(\.[+_a-z0-9-]+)[EMAIL PROTECTED](\.[a-z0-9-]
+)*\.(([a-z]{2,3})|(aero|coop|info|museum|name))$", addr)
Do you have some reliable resource you're getting the validity of the
characters from? All I am able to find are the characters I mentioned above.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- Verify an email address from a query Les Mizzell
- RE: Verify an email address from a query Ewok
- Re: Verify an email address from a query Jochem van Dieten
- RE: Verify an email address from a query Ewok
- Re: Verify an email address from a quer... Jochem van Dieten
- Re: Verify an email address from a query Spike
- RE: Verify an email address from a query Burns, John D
- Re: Verify an email address from a query Lofback, Chris
- Re: Verify an email address from a query Howie Hamlin
- RE: Verify an email address from a query Paul Vernon
- RE: Verify an email address from a query Matthew Walker
- RE: Verify an email address from a query James Holmes
- RE: Verify an email address from a query Matthew Walker