Re: [Exim] From Header format

Pàgina inicial
Delete this message
Reply to this message
Autor: Dave C.
Data:  
A: exim-users
CC: Russell Wilton
Assumpte: Re: [Exim] From Header format
On Wed, 3 Jul 2002, Philip Hazel wrote:

> On Wed, 3 Jul 2002, Dave C. wrote:
>
> > >     From: Russell Wilton <wilton@???>  (Authenticated)

> >
> > This format is not valid.
>
> Actually, it is. Comments may appear in parentheses almost anywhere in a
> mail header. These examples come from RFC 2822:
>
> -----------------------------------------------------------------------
> From: Pete(A wonderful \) chap) <pete(his account)@silly.test(his host)>
>
> To:A Group(Some people)
>      :Chris Jones <c@(Chris's host.)public.example>,
>          joe@???,
>   John <jdoe@???> (my dear friend); (the end of the group)

>
> Cc:(Empty list)(start)Undisclosed recipients :(nobody(that I know)) ;
> -----------------------------------------------------------------------


Ugh.

> > You can have one of the following (but not both) forms:
> >
> >
> > From: "arbitarary text" <valid@???>
> >
> > or
> >
> > From: valid@??? (arbitrary text)
>
> No, you can have either form, and many more besides. Mind you, I suspect
> some mail-handling software will break on the more esoteric examples.
> (That's a polite way of saying "it's a programmer's nightmare".)


Ok, I revise my original statement to

"If you dont want it to break, you _should_ use one of those forms"