Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.7

Doc Bug #18256 Addition to Mail Queue Tutorial
Submitted: 2011-02-09 21:26 UTC
From: semmelbroesel Assigned: quipo
Status: Closed Package: Mail_Queue (version Unknown)
PHP Version: 5.2.12 OS:
Roadmaps: 1.2.7    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 8 - 1 = ?

 
 [2011-02-09 21:26 UTC] semmelbroesel (Richard Lund)
Description: ------------ When I started working with mail queue, I spent a few days trying to figure out an issue I had run into. I was trying to send notifications to multiple users at once, and I noticed that the headers of each email were identical - including the TO: address, even though the TO: entries in the mail_queue table were different. Mail queue would not allow me to send different headers to different people. Until I found out (thanks to the guys on IRC!) that $mime- >headers has an additional parameter that allows the header to be overwritten: $msg_headers = $mime->headers($msg_headers, true); (note the "true") I am asking you to add a section to the tutorial explaining this IMHO important parameter to avoid the same trouble I had for other users. Please feel free to contact me if you have questions. Thanks!

Comments

 [2011-03-07 01:39 UTC] quipo (Lorenzo Alberton)
-Status: Open +Status: Closed -Assigned To: +Assigned To: quipo
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.