Issue Type: Improvement Created: 2010-05-31T11:12:02.000+0000 Last Updated: 2010-12-06T03:35:58.000+0000 Status: Resolved Fix version(s): - Next Major Release ()
Reporter: Jonas Völcker (jonasvoelcker) Assignee: Dolf Schimmel (Freeaqingme) (freak) Tags: - Zend_Mail
Related issues: - ZF-2219
Attachments: - Mail.php
Multiple setReplyTo()-calls are currently prohibited and throw an Exception. This is unneeded, as the RFC822 (and the superceeding RFC2821) allow more than one reply-to header.
I added the capability to add multiple reply-to headers to the Mail.php code, as this was a feature I needed. I tried to stay in your coding-style, please consider this as an addition to your framework.
I propose the renaming to addReplyTo(), this would also be in style with addTo() etc.
Please find attached the modified Mail.php
PS: I also fixed ZF-2219 while I was at it (addBcc() lacks 'name' parameter).
Posted by Jonas Völcker (jonasvoelcker) on 2010-05-31T11:14:45.000+0000
Attached modified Mail.php with addReplyTo instead of setReplyTo, allowing multiple reply-to headers.
Posted by Satoru Yoshida (satoruyoshida) on 2010-06-12T06:52:20.000+0000
Sorry, I have been inactive since last April.
Posted by Dolf Schimmel (Freeaqingme) (freak) on 2010-12-06T03:35:58.000+0000
Resolved in ZF2. Thank you for reporting this issue.
Have you found an issue?
See the Overview section for more details.