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

Request #10604 Put an option to specify Content-Location in the header
Submitted: 2007-04-04 04:49 UTC
From: perryv Assigned: cipri
Status: Closed Package: Mail_Mime (version 1.4.0a1)
PHP Version: 4.3.9 OS: CentOS
Roadmaps: 1.4.0    

 [2007-04-04 04:49 UTC] perryv (Perry Valdez)
Description: ------------ In the Mail_mimePart() function (in Mail/mimePart.php), there is a switch statement that goes like this: switch ($key) { case 'content_type': $headers['Content-Type'] = $value . (isset($charset) ? '; charset="' . $charset . '"' : ''); break; case 'encoding': //... break; case 'cid': //... break; case 'disposition': //... break; case 'dfilename': //... break; case 'description': //... break; case 'charset': //... break; } May I request to put another header option called "location" that implements Content-Location? That is, put this in the switch statement: case 'location': $headers['Content-Location'] = $value; break; Content-Location is useful for embedding hyperlinked images inside HTML messages.


 [2007-04-28 12:32 UTC] cipri (Cipriano Groenendal)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the 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.
 [2007-05-05 15:04 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 Fixed in 1.4.0