On Wed, May 30, 2001 at 11:02:11AM -0400, Andy Williams wrote:
> Has any one used this module at all?
> I just tried it and got some wierd results!!!
> It though the following where VALID:
> [EMAIL PROTECTED]
> tricad@dial,pipex.com
> [EMAIL PROTECTED],co.uk
> enquiries@peter-il;land.co.uk
> martyn@the,coot.freeserveco.uk
> shirleyhemes@.uk.com
> [EMAIL PROTECTED],co.uk
> 3jsolution@.21.com
> paula,[EMAIL PROTECTED]
> ian,[EMAIL PROTECTED]
> [EMAIL PROTECTED]

You are correct in that these shouls all be invalid.

> and that this was INVALID:
> [EMAIL PROTECTED]

It is.

RFC822 S6.1
|     local-part  =  word *("." word)             ; uninterpreted
|                                                 ; case-preserved

and S3.3(reordered) for the definitions of word
|     word        =  atom / quoted-string
|
|     atom        =  1*<any CHAR except specials, SPACE and CTLs>
|
|     quoted-string = <"> *(qtext/quoted-pair) <">; Regular qtext or
|                                                 ;   quoted chars.
|
|     qtext       =  <any CHAR excepting <">,     ; => may be folded
|                     "\" & CR, and including
|                     linear-white-space>
|
|     specials    =  "(" / ")" / "<" / ">" / "@"  ; Must be in quoted-
|                 /  "," / ";" / ":" / "\" / <">  ;  string, to use
|                 /  "." / "[" / "]"              ;  within a word.
|
|     CTL         =  <any ASCII control           ; (  0- 37,  0.- 31.)
|                     character and DEL>          ; (    177,     127.)
|
|     SPACE       =  <ASCII SP, space>            ; (     40,      32.)
|
|     CR          =  <ASCII CR, carriage return>  ; (     15,      13.)
|
|     CHAR        =  <any ASCII character>        ; (  0-177,  0.-127.)
|
|     LWSP-char   =  SPACE / HTAB                 ; semantics = SPACE
|
|     linear-white-space =  1*([CRLF] LWSP-char)  ; semantics = SPACE
|                                                 ; CRLF => folding
|     HTAB        =  <ASCII HT, horizontal-tab>   ; (     11,       9.)
|
|     <">         =  <ASCII quote mark>           ; (     42,      34.)

> I've tried [EMAIL PROTECTED] and it works fine....

"Be conservative in what you send and liberal in what you accept"

> I've tried the one's above that claim to be VALID and they all fail.

They are all wrong.

MBM

Reply via email to