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

Request #5837 Mail_Mime: Build message for Net_SMTP
Submitted: 2005-10-31 18:02 UTC Modified: 2007-05-05 10:05 UTC
From: mortonda at dgrmm dot net Assigned: cipri
Status: Closed Package: Mail_Mime
PHP Version: 4.3.10 OS: any
Roadmaps: 1.4.0, 1.4.0a1    
Subscription  


 [2005-10-31 18:02 UTC] mortonda at dgrmm dot net
Description: ------------ Net_SMTP just needs a single parameter to its ->data() function, so the headers need to be converted into text and concatenated with the body. Could Mail_Mime provide this? $mime->getMessage(); In that function it would do something like: foreach($hdrs as $key=>$val) { $hdr .= "$key: $val\r\n"; } return $hdr . "\r\n" . $body;

Comments

 [2006-04-09 09:36 UTC] cipri (Cipriano Groenendal)
This bug has been fixed in CVS. 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. Added this function in Revision 1.48
 [2007-05-05 10:05 UTC] cipri (Cipriano Groenendal)
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/Mail_Mime Fixed in 1.4.0