E-mail edit

Kenneth Brody kenbrody at spamcop.net
Wed Apr 4 09:11:01 PDT 2012


On 4/4/2012 11:16 AM, Jay Ashworth wrote:
> ----- Original Message -----
>> From: "Chris Rendall"<crendall at teamind.com>
>
>> em1 - {{A} | {N} | {"&"} | {"-"} | {"_"} | [!" "!]} | {"/"}
>> email - _ {em1|"."} "@" {em1{"."}} A A [A]
>>
>> This is an edit I use. I don't remember where I got it from but it
>> works pretty good.
>
> The plus sign is valid on the LHS of an email address, per RFC 821;
> jra+filepro at baylink.com is a valid address.  Please don't break that, as
> so many people do.

Yes, I hate when websites prevent me from using the "+" in my e-mail 
address, claiming it's an "invalid" address.  I had previously read RFC821 
(yes, I'm a geek) to see about this, and I mis-read the specs and thought 
that "+" was not allowed, so I let it go.  However, after your post, I 
reread it, and it turns out that RFC821 specifically allows:

     any one of the 128 ASCII characters, but not any
     <special> or <SP>

where "<SP>" is the space character, and "<special>" are the control 
characters and a small list of "forbidden" characters:

     "<" | ">" | "(" | ")" | "[" | "]" | "\" | "."
               | "," | ";" | ":" | "@"  """ | the control
               characters (ASCII codes 0 through 31 inclusive and
               127)

Note, however, that it also allows "quoted-strings", which allow *any* 
characters inside quotes, so technically, this is valid:

     "Smith,Bob^T(SETI at home)^T(212)555-1234"@example.com

-- 
Kenneth Brody


More information about the Filepro-list mailing list