Issues

ZF-9821: _formatAddress only quotes names containing '@' or ','

Issue Type: Bug Created: 2010-05-10T01:36:13.000+0000 Last Updated: 2011-02-17T05:29:55.000+0000 Status: Resolved Fix version(s): - 1.11.4 (03/Mar/11)

Reporter: Dave Marshall (musher) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Mail

Related issues: Attachments: - patch.txt

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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts