Mail
Class that provides multiple interfaces for sending emails
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.
chagenbu
Chuck Hagenbuch
chuck@horde.org
lead
richard
Richard Heyes
richard@phpguru.org
developer
jon
Jon Parise
jon@php.net
lead
1.1.6
2005-07-12
PHP/BSD
stable
- Don't emit warnings with PHP 4.4/5.1.
Net_SMTP
1.1.5
2005-06-26
stable
- 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)
1.1.4
2004-09-08
stable
- Header key comparisons are now case-insensitive. (Colin Viebrock)
- Header fields (e.g., 'Cc', 'Bcc') may now be specified as arrays of addresses. (Colin Viebrock)
- PHP5 compatibility fix (Bug #1563).
- PHP4 / Win32 compatibility fix for the 'sendmail' driver (Bug 1881).
- Stricter "local part" parsing for Mail_RFC822 (in accordance with Section 6.2.4 of RFC 822) (Bug 1869).
- The various send() implementations now properly escalate the PEAR_Error object returned by Mail::prepareHeaders() in the event of an invalid header.
1.1.3
2004-04-08
stable
- The 'mail' driver now returns a PEAR_Error object on failure.
- The individual drivers no longer include the 'Mail.php' file. If you want to instantiate a driver directly, you'll need to explicitly include the 'Mail.php' file yourself.
1.1.2
2003-09-04
stable
The 'localhost' value can now be set in the SMTP driver.
1.1.1
2003-06-26
stable
Minor fixes with newlines in headers.
1.1.0
2003-06-21
stable
The Mail package now depends on Net_SMTP 1.1.0 or greater for its SMTP authentication capabilities.
1.0.2
2002-07-27
stable
Minor additions and changes to RFC822.php. Fixed line terminator issue for smtp.php and set smtp.php to use Return-Path header in place of From header for MAIL FROM: (if supplied)
1.0.1
2002-07-27
stable
License change for RFC822.php
1.0
2002-06-06
stable
Initial release as PEAR package