Commit graph

2 commits

Author SHA1 Message Date
adrianp
5922287647 Update to 1.1.14
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)
2006-10-14 12:11:56 +00:00
adrianp
b083ed24eb - Import of pear-Mail
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.
2005-05-18 20:07:45 +00:00