* Wietse Venema <[email protected]>:

> > But Exchange forgets the "" and just encodes 
> > L?stn?me, Firstn?me
> > instead of
> > "L?stn?me, Firstn?me"
> > 
> > thus the quoted-string encapsulation is wrong?!
> 
> RFC822..RFC5322 do not need quotes around text inside the
> =?iso-8859-1?Q?stuff?=, as long as there are no spaces. That
> was an explicit design choice.

So what IS the correct way?

if (space or special characters in realname)
   return encode(add_quotes(realname))
else
   return realname
fi

?

Or is it

if (space or special characters in realname)
   return add_quotes(encode(realname))
else
   return realname
fi

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  [email protected] | http://www.charite.de
            

Reply via email to