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

Request #4057 Mail_Mime: Add name parameter for Content-Type
Submitted: 2005-04-04 16:06 UTC Modified: 2007-05-05 10:05 UTC
From: ths Assigned: cipri
Status: Closed Package: Mail_Mime
PHP Version: Irrelevant OS:
Roadmaps: 1.4.0, 1.4.0a1    
Subscription  


 [2005-04-04 16:06 UTC] ths
Description: ------------ I had a problem with an older mail client which expect the (deprecated?) name parameter for Content-Type header of am mime part. These parameter is currently setting by mail clients like Thunderbird or Outlook. The patch is used the 'dfilename' for that. Reproduce code: --------------- http://4bc.info/pear/mimePart_1.13.patch Expected result: ---------------- Content-Type: application/pdf; name="example.pdf" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="example.pdf" Actual result: -------------- Content-Type: application/pdf Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="example.pdf"

Comments

 [2005-04-07 01:47 UTC] hiroaki dot kawai at gmail dot com
Let me review the internal of extract($params) function in your patch code.
 [2006-04-09 11:19 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. This has been fixed in mime.php revision: 1.51.
 [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