Definition of name and address

10 views
Skip to first unread message

Schorsch

unread,
Dec 10, 2009, 6:03:06 AM12/10/09
to Ruby's Mail Discussion Group
I tryied to find it in the rfc's but could not get a descent answer.
What is the right definition of an name with an address in from/to/..
fields:

"Peter Paul" <h...@mail.de>

Peter Paul<h...@mail.de>

Im currently using tmail and had some problems with the second version
only showing a part of the name. Now while using the first notation
some mails dont get delivered cause the from field cannot be read.
Which might be a problem with tmail, and which is why i want to change
using mail, if the parsers have improved.

Mikel Lindsaar

unread,
Dec 10, 2009, 10:47:24 PM12/10/09
to mail...@googlegroups.com
You should quote the friendly name as part of the address spec.

Most mail handlers (mail included, tmail not) will still handle Peter Paul <h...@mail.de>... but it is prone to error.

quote it and you are safe.

Mikel
--
http://lindsaar.net/
Rails, RSpec and Life blog....


Reply all
Reply to author
Forward
0 new messages