by Wen Heping.
Changelog:
QA release - stable.
* Updated minimum dependencies (Net_SMTP, PEAR, PHP)
* Doc Bug #15620 Licence change to BSD
* Bug #13659 Mail parse error in special condition
* Bug #16200 - Security hole allow to read/write Arbitrary File
* _hasUnclosedQuotes() doesn't properly handle a double slash before an end
quote (slusarz at curecanti.org, Bug #9137).
* Make sure Net_SMTP is defined when calling getSMTPObject() directly
(slusarz at curecanti.org, Bug #13772).
* Add addServiceExtensionParameter() to the SMTP driver
(slusarz at curecanti.org, Bug #13764).
* Add a method to obtain the Net_SMTP object from the SMTP driver
(slusarz at curecanti.org, Bug #13766).
Addresses PR #34643
- Fix missing seperation between headers and body in the SMTP driver
- Fix _sanitizeHeaders() so that it doesn't eat multiline headers.
- The sendmail backend now correctly writes a blank line between the headers and body text.
- Fix typo in _sanitizeHeaders() that blanked out all headers.
- Mail::prepareHeaders() no longer appends a trailing newline. (Bug 7492)
- Mail::parseRecipients() now returns a PEAR_Error object on error. (Bug 7491)
- Mail_RFC822::isValidInetAddress() now permits domain parts longer than four characters. The two character minimum remains in effect. (Bug 7562)
- Fixed the tests for the existence of the PHP_EOL constant. (Bug 7682)
- Changed the default 'sendmail_args' value to include the '-i' argument. (Bug 7785)
- We now guard against email injection exploits. (Bug 6229)
- The SMTP driver now includes an error code in its PEAR_Error objects.
- SMTP connections are now reset (RSET) when an error occurs. (Bug 5212)
- The SMTP driver now exposes a disconnect() method which forcibly destroys the SMTP connection. (Bug 5372)
- Removing a stray debugging line that snuck into the 1.1.7 release. (Bug 5190)
- Mail_RFC822::isValidInetAddress() now accepts the '+' character in strict local-parts. (Bug 4943)
- The SMTP backend now returns standardized error messages which now include additional error details from the Net_SMTP package. (Bug 4241)
- Mail::factory() now returns object references without generating PHP warnings.
- The SMTP backend now supports a 'persist' parameter which allows the internal SMTP connection object to be reused over multiple calls to the send() method. (Bug 4122)
- Don't emit warnings with PHP 4.4/5.1.
- Unfold long lines before parsing addresses in Mail_RFC822.
- The SMTP driver now supports a 'timeout' value. (Request 3776)
- An array of Received: headers can now be provided. (Bug 4636)
all PEAR packages to php?-pear-* and all Apache packages to ap13-* or
ap2-* respectively. Add new variables to simplify the Makefile
handling. Add CONFLICTS on the old names. Reset revisions of bumped
packages. ap-php will now depend on the default Apache and PHP version.
All programs using it have an implicit option of the Apache version
as well.
OK from jlam@ and adrianp@.
PEAR's Mail:: package defines the interface for implementing mailers under
the PEAR hierarchy, and provides supporting functions useful in multiple
mailer backends. Currently supported are native PHP mail() function, sendmail
and SMTP. This package also provides a RFC 822 Email address list validation
utility class.