Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4da28c211e
Fetching contributors…

Cannot retrieve contributors at this time

executable file 625 lines (620 sloc) 23.107 kb
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.6.0" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0"
xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd
http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>Mail_Mime</name>
<channel>pear.php.net</channel>
<summary>Mail_Mime provides classes to create MIME messages.</summary>
<description>Mail_Mime provides classes to deal with the creation and manipulation of MIME messages.
It allows people to create e-mail messages consisting of:
* Text Parts
* HTML Parts
* Inline HTML Images
* Attachments
* Attached messages
It supports big messages, base64 and quoted-printable encodings and
non-ASCII characters in filenames, subjects, recipients, etc. encoded
using RFC2047 and/or RFC2231.</description>
<lead>
<name>Cipriano Groenendal</name>
<user>cipri</user>
<email>cipri@php.net</email>
<active>no</active>
</lead>
<lead>
<name>Aleksander Machniak</name>
<user>alec</user>
<email>alec@php.net</email>
<active>yes</active>
</lead>
<date>2012-03-12</date>
<version>
<release>1.8.3</release>
<api>1.4.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD Style</license>
<notes>
* Request #19009: Remove error_reporting from tests [alec]
* Fixed Bug #19094: Email addresses do not have to contain a space between the name and address part [alec]
* Fixed Bug #19328: Wrong encoding of filenames with comma [alec]
</notes>
<contents>
<dir name="/">
<dir name="scripts">
<file baseinstalldir="Mail" name="phail.php" role="doc" />
</dir> <!-- /scripts -->
<dir name="tests">
<file baseinstalldir="Mail" name="class-filename.phpt" role="test" />
<file baseinstalldir="Mail" name="encoding_case.phpt" role="test" />
<file baseinstalldir="Mail" name="headers_with_mbstring.phpt" role="test" />
<file baseinstalldir="Mail" name="headers_without_mbstring.phpt" role="test" />
<file baseinstalldir="Mail" name="sleep_wakeup_EOL-bug3488-part1.phpt" role="test" />
<file baseinstalldir="Mail" name="sleep_wakeup_EOL-bug3488-part2.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_3513_1.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_3513_2.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_3513_3.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_7561_1.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_8386_1.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_8541_1.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_9558_1.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_9722_1.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_10596_1.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_10816_1.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_11731.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_12411.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_13444.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_13962.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_14779.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_14780.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_15320.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_14529.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_17025.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_17175.phpt" role="test" />
<file baseinstalldir="Mail" name="test_Bug_18083.phpt" role="test" />
</dir> <!-- /tests -->
<dir name="Mail">
<file baseinstalldir="/" name="mime.php" role="php" />
<file baseinstalldir="/" name="mimePart.php" role="php" />
</dir>
</dir> <!-- / -->
</contents>
<dependencies>
<required>
<php>
<min>4.3.0</min>
</php>
<pearinstaller>
<min>1.6.0</min>
</pearinstaller>
</required>
</dependencies>
<phprelease />
<changelog>
<release>
<version>
<release>1.0</release>
<api>1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2001-12-28</date>
<license uri="http://www.php.net/license">PHP</license>
<notes>This is the initial release of the Mime_Mail package.</notes>
</release>
<release>
<version>
<release>1.1</release>
<api>1.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2002-04-03</date>
<license uri="http://www.php.net/license">PHP</license>
<notes>This is a maintenance release with various bugfixes and minor enhancements.</notes>
</release>
<release>
<version>
<release>1.2</release>
<api>1.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2002-07-14</date>
<license uri="http://www.php.net/license">PHP</license>
<notes>o Added header encoding
o Altered mimePart to put boundary parameter on newline
o Changed addFrom() to setFrom()
o Added setSubject()
o Made mimePart inherit crlf setting from mime</notes>
</release>
<release>
<version>
<release>1.2.1</release>
<api>1.2.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2002-07-27</date>
<license uri="http://www.php.net/license">PHP</license>
<notes>o License change
o Applied a few changes From Ilia Alshanetsky</notes>
</release>
<release>
<version>
<release>1.3.0RC1</release>
<api>1.3.0RC1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2005-03-20</date>
<license uri="http://www.php.net/license">PHP</license>
<notes>o First release in over 2.5 years (!)
o MANY bugfixes (see the bugtracker)
o added a few tests</notes>
</release>
<release>
<version>
<release>1.3.0</release>
<api>1.3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2005-04-01</date>
<license uri="http://www.php.net/license">PHP</license>
<notes>o First (stable) release in over 2.5 years (!)
o MANY bugfixes (see the bugtracker)
o added a few tests
o one small fix after RC1 (bug #3940)</notes>
</release>
<release>
<version>
<release>1.3.1</release>
<api>1.3.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2005-07-13</date>
<license uri="http://www.php.net/license">PHP</license>
<notes>A bugfix release:</notes>
</release>
<release>
<version>
<release>1.4.0a1</release>
<api>1.3.1</api>
</version>
<stability>
<release>alpha</release>
<api>stable</api>
</stability>
<date>2007-03-08</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">bsd style</license>
<notes>* Changed License to BSD Style license, as that&apos;s what the code was since the beginning [cipri]
* Fix Bug #30: Mail_Mime: _encodeHeaders is not RFC-2047 compliant. [cipri]
* Fix Bug #3513: support of RFC2231 in header fields. [cipri]
* Fix Bug #4696: addAttachment crash [cipri]
* Fix Bug #5333: Only variables should be returned by reference; triggers notices since php 4.4.0 [cipri]
* Fix Bug #7561: Mail_mimePart::_quotedPrintableEncode() misbehavior with mbstring overload [cipri]
* Fix Bug #8223: Incorrectly encoded quoted-printable headers [cipri]
* Fix Bug #8386: HTML body not correctly encoded if attachments present [cipri]
* Fix Bug #8541: mimePart.php line delimiter is \r [cipri]
* Fix Bug #9347: Notices about references [cweiske]
* Fix Bug #9558: Broken multiline headers [cipri]
* Fix Bug #9956: Notices being thrown [cipri]
* Fix Bug #9976: Subject encoded twice [cipri]
* Implement Feature #2952: Mail_mime::headers() saves extra headers [cipri]
* Implement Feature #3636: Allow specification of charsets and encoding [cipri]
* Implement Feature #4057: Mail_Mime: Add name parameter for Content-Type [cipri]
* Implement Feature #4504: addHTMLImage does not work in cases when filename contains a path [cipri]
* Implement Feature #5837: Mail_Mime: Build message for Net_SMTP [cipri]
* Implement Feature #5934: Mail_Mime: choice for content disposition [cipri]
* Implement Feature #6568: Mail_Mime: inline images referenced in CSS definitions not replaced. [cipri]</notes>
</release>
<release>
<version>
<release>1.4.0a2</release>
<api>1.3.1</api>
</version>
<stability>
<release>alpha</release>
<api>stable</api>
</stability>
<date>2007-04-05</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">bsd style</license>
<notes>* Fix Bug #9722: _quotedPrintableEncode does not encode dot at start of line on Windows
platform [cipri]
* Fix Bug #9725: multipart/related &amp; alternative wrong order [cipri]
* Fix Bug #10146: mbstring fails to recognize encodings. [cipri]
* Fix Bug #10158: Inline images not displayed on Mozilla Thunderbird [cipri]
* Fix Bug #10298: Mail_mime, double Quotes and Specialchars in from and to Adress [cipri]
* Fix Bug #10306: Strings with Double Quotes get encoded wrongly [cipri]
* Fix Bug #10596: Incorrect handling of text and html &apos;0&apos; bodies [cipri]</notes>
</release>
<release>
<version>
<release>1.4.0a3</release>
<api>1.3.1</api>
</version>
<stability>
<release>alpha</release>
<api>stable</api>
</stability>
<date>2007-04-05</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">bsd style</license>
<notes>* Fix Bug #10298: Mail_mime, double Quotes and Specialchars in from and to Adress [cipri]
* Fix Bug #10306: Strings with Double Quotes get encoded wrongly [cipri]</notes>
</release>
<release>
<version>
<release>1.4.0RC1</release>
<api>1.3.1</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<date>2007-04-12</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">bsd style</license>
<notes>* Fix Bug #10232: Gmail creates double line break when \r\n is used [cipri]</notes>
</release>
<release>
<version>
<release>1.4.0RC2</release>
<api>1.3.1</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<date>2007-04-22</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">bsd style</license>
<notes>* Fix Bug #10791: Unit tests fail [cipri]
* Fix Bug #10792: No unit tests for recently fixed bugs [cipri]
* Fix Bug #10793: Long headers don&apos;t get wrapped since fix for Bug #10298 [cipri]</notes>
</release>
<release>
<version>
<release>1.4.0RC3</release>
<api>1.3.1</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<date>2007-04-24</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">bsd style</license>
<notes>* Fix Bug #10816: Unwanted linebreak at the end of output [cipri]</notes>
</release>
<release>
<version>
<release>1.4.0RC4</release>
<api>1.3.1</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<date>2007-04-28</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">bsd style</license>
<notes>* Fix Bug #3513: support of RFC2231 in header fields. [cipri]
* Fix Bug #10838: bad use of MIME encoding in header. [cipri]</notes>
</release>
<release>
<version>
<release>1.4.0</release>
<api>1.3.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2007-05-05</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD Style</license>
<notes>Release notes:
* No more notices in PHP 5 /4.4.0.
* Improved inline HTML image function.
* Improved header encoding with foreign charsets.
* Improved long header rendering.
* More control over used Charsets and encoding schemes.
* More configurable attachments and inline images.
* Full RFC 2047 Support
* Full RFC 2231 Support
* Unit-tests
Fixed bugs:
* Fix Bug #30: Mail_Mime: _encodeHeaders is not RFC-2047 compliant. [cipri]
* Fix Bug #3513: support of RFC2231 in header fields. [cipri]
* Fix Bug #4696: addAttachment crash [cipri]
* Fix Bug #5333: Only variables should be returned by reference; triggers notices since
php 4.4.0 [cipri]
* Fix Bug #5400: Do not return function reference [cipri]
* Fix Bug #5710: Little reference bugs [cipri]
* Fix Bug #5890: Only variable references should be returned by reference [cipri]
* Fix Bug #6260: Just a notice with PHP5 [cipri]
* Fix Bug #6261: php 5.1.1 upgrade [cipri]
* Fix Bug #6663: Notice about reference passing [cipri]
* Fix Bug #7561: Mail_mimePart::_quotedPrintableEncode() misbehavior with mbstring
overload [cipri]
* Fix Bug #7713: PHP5 Notice: Only variable references should be returned by reference [cipri]
* Fix Bug #8223: Incorrectly encoded quoted-printable headers [cipri]
* Fix Bug #8386: HTML body not correctly encoded if attachments present [cipri]
* Fix Bug #8541: mimePart.php line delimiter is \r [cipri]
* Fix Bug #8812: user header updates overwritten [cipri]
* Fix Bug #9347: Notices about references [cweiske]
* Fix Bug #9558: Broken multiline headers [cipri]
* Fix Bug #9722: _quotedPrintableEncode does not encode dot at start of line on Windows
platform [cipri]
* Fix Bug #9725: multipart/related &amp; alternative wrong order [cipri]
* Fix Bug #9956: Notices being thrown [cipri]
* Fix Bug #9976: Subject encoded twice [cipri]
* Fix Bug #10146: mbstring fails to recognize encodings. [cipri]
* Fix Bug #10158: Inline images not displayed on Mozilla Thunderbird [cipri]
* Fix Bug #10232: Gmail creates double line break when \r\n is used [cipri]
* Fix Bug #10298: Mail_mime, double Quotes and Specialchars in from and to Adress [cipri]
* Fix Bug #10306: Strings with Double Quotes get encoded wrongly [cipri]
* Fix Bug #10596: Incorrect handling of text and html &apos;0&apos; bodies [cipri]
* Fix Bug #10791: Unit tests fail [cipri]
* Fix Bug #10792: No unit tests for recently fixed bugs [cipri]
* Fix Bug #10793: Long headers don&apos;t get wrapped since fix for Bug #10298 [cipri]
* Fix Bug #10816: Unwanted linebreak at the end of output [cipri]
* Fix Bug #10838: bad use of MIME encoding in header. [cipri]
Implemented Features:
* Implement Feature #2952: Mail_mime::headers() saves extra headers [cipri]
* Implement Feature #3636: Allow specification of charsets and encoding [cipri]
* Implement Feature #4057: Mail_Mime: Add name parameter for Content-Type [cipri]
* Implement Feature #4504: addHTMLImage does not work in cases when filename contains a path [cipri]
* Implement Feature #5837: Mail_Mime: Build message for Net_SMTP [cipri]
* Implement Feature #5934: Mail_Mime: choice for content disposition [cipri]
* Implement Feature #6568: Mail_Mime: inline images referenced in CSS definitions not replaced. [cipri]
* Implement Feature #10604: Put an option to specify Content-Location in the header [cipri]</notes>
</release>
<release>
<version>
<release>1.5.0a1</release>
<api>1.3.1</api>
</version>
<stability>
<release>alpha</release>
<api>stable</api>
</stability>
<date>2007-06-10</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD Style</license>
<notes>Split off mail_MimeDecode</notes>
</release>
<release>
<version>
<release>1.5.0RC1</release>
<api>1.3.1</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<date>2007-06-10</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD Style</license>
<notes>Split off mail_MimeDecode</notes>
</release>
<release>
<version>
<release>1.5.0</release>
<api>1.3.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2007-06-17</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD Style</license>
<notes>Split off Mail_MimeDecode</notes>
</release>
<release>
<version>
<release>1.5.1</release>
<api>1.3.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2007-06-20</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD Style</license>
<notes>* Fix Bug #11344: Error at line 644 in mime.php [cipri]</notes>
</release>
<release>
<version>
<release>1.5.2</release>
<api>1.3.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2007-06-21</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD Style</license>
<notes>
* Fix Bug #11381: domain name is attached to content-id, trailing greater-than sign is
not remove [cipri]</notes>
</release>
<release>
<version>
<release>1.5.3</release>
<api>1.3.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2009-12-29</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD Style</license>
<notes>
Fixed bugs:
* Fix Bug #14678: srand() lowers security [clockwerx]
* Fix Bug #12921: _file2str not binary safe [walter]
* Fix Bug #12385: Bad regex when replacing css style attachments [cipri]
* Fix Bug #16911: Excessive semicolon in MIME header [alec]
* Fix Bug #15320: Attachment charset is not set in Content-Type header [alec]
* Fix Bug #16911: Lack of semicolon separator for MIME header parameters [alec]
* Fix Bug #16846: Use preg_replace_callback() instead of /e modifier [alec]
* Fix Bug #14779: Problem with an empty attachment [alec]
* Fix Bug #15913: Optimize the memory used by Mail_mimePart::encode.
Avoid having attachments data duplicated in memory [alec]
* Fix Bug #16539: Headers longer than 998 characters aren&apos;t wrapped [alec]
* Fix Bug #11238: Wrong encoding of structured headers [alec]
* Fix Bug #13641: iconv_mime_encode() seems to work different/errorious than
the build in logic. Removed &apos;ignore_iconv&apos; param. [alec]
* Fix Bug #16706: Incorrect double-quotes RFC 2231-encoded parameter values [alec]
* Fix Bug #14232: RFC2231: tspecials encoding in _buildHeaderParam() [alec]
Implemented Features:
* Implement Feature #10438: Function (encodeHeader) for encoding of given header [alec]
</notes>
</release>
<release>
<version>
<release>1.6.0</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2010-01-27</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD Style</license>
<notes>
Bugs Fixed:
* Don't break specified headers folding [alec]
* Bug #17025: Wrong headers() result for long unwrapable header value [alec]
Implemented Features:
* Allow setting Content-ID for HTML Images [alec]
* Added one setParam() in place of many set*() functions [alec]
* Added getParam(), getTXTBody(), getHTMLBody() [alec]
* Skip RFC2231's charset if filename contains only ASCII characters [alec]
* Make sure that Received: headers are returned on the top [alec]
* Added saveMessageBody() and getMessageBody() functions [alec]
</notes>
</release>
<release>
<version>
<release>1.6.1</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2010-03-08</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD Style</license>
<notes>
Bugs Fixed:
* Fix encoding of Return-Receipt-To and Disposition-Notification-To headers [alec]
Implemented Features:
* Implement Feature #12466: Build parameters validation [alec]
* Implement Feature #17175: Content-Description support for attachments [alec]
</notes>
</release>
<release>
<version>
<release>1.6.2</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2010-03-23</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD Style</license>
<notes>
Bugs Fixed:
* Fix Bug #17226: Non RFC-compliant quoted-printable encoding of structured headers [alec]
</notes>
</release>
<release>
<version>
<release>1.7.0</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2010-04-12</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD Style</license>
<notes>
Implemented Features:
* Added Mail_mime::setContentType() function with possibility to set various
types in Content-Type header (also fixes problem with boundary parameter when Content-Type
header was specified by user) [alec]
</notes>
</release>
<release>
<date>2010-07-29</date>
<version>
<release>1.8.0</release>
<api>1.4.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD Style</license>
<notes>
Bugs Fixed:
* Double-addition of e-mail domain to content ID in HTML images [alec]
* #17311: Multi-octet characters are split across adjacent 'encoded-word's [alec]
* #17573: Place charset parameter in first line of Content-Type header (if possible) [alec]
Implemented Features:
* #17518: addTo() method [alec]
</notes>
</release>
<release>
<date>2010-12-01</date>
<version>
<release>1.8.1</release>
<api>1.4.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD Style</license>
<notes>
Bugs Fixed:
* #18083: Not possible to set separate charset for attachment content and headers [alec]
</notes>
</release>
<release>
<date>2011-08-10</date>
<version>
<release>1.8.2</release>
<api>1.4.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD Style</license>
<notes>
Bugs Fixed:
* #18426: Fixed backward compatibility for "dfilename" parameter [alec]
* Removed xmail.dtd, xmail.xsl from the package [alec]
* Fixed handling of email addresses with quoted local part [alec]
</notes>
</release>
</changelog>
</package>
Jump to Line
Something went wrong with that request. Please try again.