Re: Email Address Validation



"John Nurick" <j.mapSoN.nurick@xxxxxxxxxxxxxx> wrote in message
news:4iqg82duk1vv4r4mv8kfg91lfr2e2qrr44@xxxxxxxxxx
On Thu, 8 Jun 2006 09:24:00 -0700, "Sam Hobbs"
<samuel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

The
following were among the results when I used Yahoo.

http://aspfaqs.com/aspfaqs/ShowFAQ.asp?FAQID=47
http://lampwriter.com/email

I tried each of these on two valid email addresses: one of my own, and
one from my addressbook. Nothing fancy, just
xxx@xxxxxxx
where xxx is a a string of characters in the range a-z, yyy is another
such, and tld is a valid top level domain (e.g. "com", "se").

The "lampwriter" page said they were both invalid. The "aspfaqs" code
accepted one but rejected the other.

Ah well, one out of four ain't bad<g>.

--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.


I don't understand. Were they truly valid email addresses? When you say "xxx
is a a string of characters in the range a-z, yyy is another such" you imply
that the characters were relatively random; that the rejected addresses were
not addresses that email would be accepted for.

The aspfaqs.com sample is sample code. It would be interesting to determine
why it rejected one.

The important issue is that there are many samples available for searching.
I did not look as thoroughly as I would if I needed an answer.


.



Relevant Pages

  • Re: [PHP] Poll of sorts: Javascript Form validation or PHP
    ... Extension (MIME): ... Uh, no, those aren't valid email address according to any standard. ... cannot have 8bit characters to the left of the @ in the email address. ...
    (php.general)
  • Re: Ascii or Binary File??
    ... 'A'..'Z','a'..'z','0'..'9' and all the special characters that you would ... even if you encounter only ... allowed characters, theres no way to be absolutely sure whether the file ... replace _nospam@nospam_ for @ to get a valid email address ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: check characters in string
    ... You would use the Instr() function for this. ... position of the item in the string. ... entered is a valid email address format. ... checked that there were no spaces (or other characters like / etc) in the ...
    (microsoft.public.word.vba.general)
  • Re: Like Statement
    ... will return True if the string being checked contains any character that is ... that *is* in the range a-z. ... that return True only of all the characters are lowercase. ... >>> MsgBox "yes" ...
    (microsoft.public.word.vba.general)
  • Re: Email Purge
    ... Can't modify concatenation or string in scalar assignment at ... or error("Open failed $list2 $!"); ... # do a check here maybe and a "next" if not a valid email ...
    (comp.lang.perl.misc)