ZF-9821: _formatAddress only quotes names containing '@' or ','
Description
I receive the following error when sending to a particular mail exchange
bq. 5.1.0 - Unknown address error 550-'Rejected after DATA: missing or malformed local part (expected word or\n"<"): failing address in "To" header is:\nDave Marshall [Director] email@example.com
From what I can see here http://tools.ietf.org/html/rfc5322#page-13, the following characters should force the name part to be quoted:
"(", ")", "<", ">", "[", "]", ":", ";", "@", "\", ",", "."
Feel free to reject this if I've misinterpreted the RFC!
Comments
Posted by Dave Marshall (musher) on 2010-05-10T01:37:09.000+0000
Patch and simple test
Posted by Satoru Yoshida (satoruyoshida) on 2010-06-12T06:14:45.000+0000
Sorry, I have been inactive since last April.
Posted by John Kelly (postalservice14) on 2010-12-02T14:50:15.000+0000
This patch seems to work well. Does someone want to commit this?
Posted by Alexander Veremyev (alexander) on 2011-02-17T05:29:52.000+0000
Fixed.