Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: valid mail address



>>>>> "Chris" == Chris Sekiya <chris@example.com> writes:

    Chris> On Mon, 25 Jan 1999, Jim Schweizer wrote:
    >> Is is valid to have quotes in an email address?

>From rfc 822:

     3.2.  HEADER FIELD DEFINITIONS

          These rules show a field meta-syntax, without regard for the
     particular  type  or internal syntax.  Their purpose is to permit
     detection of fields; also, they present to  higher-level  parsers
     an image of each field as fitting on one line.

     field       =  field-name ":" [ field-body ] CRLF

     field-name  =  1*<any CHAR, excluding CTLs, SPACE, and ":">

     field-body  =  field-body-contents
                    [CRLF LWSP-char field-body]

     field-body-contents =
                   <the ASCII characters making up the field-body, as
                    defined in the following sections, and consisting
                    of combinations of atom, quoted-string, and
		       ^^^^^^^^^^^^^^^^^^^^^
                    specials tokens, or else consisting of texts>
[...]

and...

[...]

  3.4.5.  QUOTED-STRINGS

        Where permitted (i.e., in words in structured fields)  quoted-
        strings  are  treated  as a single symbol.  That is, a quoted-
        string is equivalent to an atom, syntactically.
                                 ^^^^^^^

So, it's allowed

- dmytro


    Chris> I can't find this in the handy web RFC index, but a bit of
    Chris> empirical evidence:

    Chris> 220 trout.softek.co.jp ESMTP Sendmail
    Chris> 8.9.1a/SofTek-IN-1.0/R1 ready at Mon, 25 Jan 1999 11:18:02
    Chris> +0900 (JST) helo softek.co.jp 250 trout.softek.co.jp Hello
    Chris> mikkabi.softek.co.jp [172.16.1.36], pleased to meet you
    Chris> mail From: <chris@example.com> 250
    Chris> <chris@example.com>... Sender ok rcpt To:
    Chris> <"chris"@example.com> 250
    Chris> <"chris"@example.com>... Recipient ok

    Chris> ... sendmail accepts it, so it may be considered valid.

    Chris> -- Chris


    Chris> -------------------------------------------------------------------
    Chris> Next Technical Meeting: February 13 (Sat), 12:30 place:
    Chris> Temple Univ.  ** presentation: XEmacs, by Steven Baur and
    Chris> Martin Buchholz Next Nomikai: March 19 (Fri), 19:30 Tengu
    Chris> TokyoEkiMae 03-3275-3691
    Chris> -------------------------------------------------------------------
    Chris> more info: http://tlug.linux.or.jp Sponsor: PHT
-------------------------------------------------------------
Dmytro Kovalev
Tokyo FI UNIX SA, Consultant	
E-mail: dmytro.kovalev@example.com	
--------------------------------------------------------------
-------------------------------------------------------------------
Next Technical Meeting: February 13 (Sat), 12:30 place: Temple Univ.
** presentation: XEmacs, by Steven Baur and Martin Buchholz
Next Nomikai: March 19 (Fri), 19:30   Tengu TokyoEkiMae 03-3275-3691
-------------------------------------------------------------------
more info: http://tlug.linux.or.jp                     Sponsor: PHT


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links