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

Request #4057 Mail_Mime: Add name parameter for Content-Type
Submitted: 2005-04-04 21:06 UTC
From: ths Assigned: cipri
Status: Closed Package: Mail_Mime
PHP Version: Irrelevant OS:
Roadmaps: 1.4.0, 1.4.0a1    
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 : 7 + 45 = ?

 
 [2005-04-04 21: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 06: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 16: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 15: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