<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0">
<package version="1.0" packagerversion="1.4.11">
 <name>Mail</name>
 <summary>Class that provides multiple interfaces for sending emails</summary>
 <description>PEAR&apos;s Mail package defines an interface for implementing mailers under the PEAR hierarchy.  It also provides supporting functions useful to multiple mailer backends.  Currently supported backends include: PHP&apos;s native mail() function, sendmail, and SMTP.  This package also provides a RFC822 email address list validation utility class.
 </description>
 <maintainers>
  <maintainer>
   <user>chagenbu</user>
   <name>Chuck Hagenbuch</name>
   <email>chuck@horde.org</email>
   <role>lead</role>
  </maintainer>
  <maintainer>
   <user>richard</user>
   <name>Richard Heyes</name>
   <email>richard@phpguru.org</email>
   <role>developer</role>
  </maintainer>
  </maintainers>
 <release>
  <version>1.1.14</version>
  <date>2006-10-11</date>
  <license>PHP/BSD</license>
  <state>stable</state>
  <notes>- Fix missing seperation between headers and body in the SMTP driver (Bug #8723).
  </notes>
  <deps>
   <dep type="pkg" rel="ge" version="1.1.0" optional="yes">Net_SMTP</dep>
  </deps>
  <provides type="class" name="Mail" />
  <provides type="function" name="Mail::factory" />
  <provides type="function" name="Mail::send" />
  <provides type="function" name="Mail::prepareHeaders" />
  <provides type="function" name="Mail::parseRecipients" />
  <provides type="class" name="Mail_mail" extends="Mail" />
  <provides type="function" name="Mail_mail::send" />
  <provides type="class" name="Mail_null" extends="Mail" />
  <provides type="function" name="Mail_null::send" />
  <provides type="class" name="Mail_sendmail" extends="Mail" />
  <provides type="function" name="Mail_sendmail::send" />
  <provides type="class" name="Mail_smtp" extends="Mail" />
  <provides type="function" name="Mail_smtp::send" />
  <provides type="function" name="Mail_smtp::disconnect" />
  <provides type="class" name="Mail_RFC822" />
  <provides type="function" name="Mail_RFC822::parseAddressList" />
  <provides type="function" name="Mail_RFC822::validateMailbox" />
  <provides type="function" name="Mail_RFC822::approximateCount" />
  <provides type="function" name="Mail_RFC822::isValidInetAddress" />
  <filelist>
   <file role="php" md5sum="e90b498ce97ee926aab71180aa1f68bd" name="Mail.php"/>
   <file role="php" md5sum="c3433e6b7b54a362c6acbffffddcb2f1" name="Mail/mail.php"/>
   <file role="php" md5sum="4a1ed7ae8036862b24fa0ea84f8bbe0e" name="Mail/null.php"/>
   <file role="php" md5sum="8d567715b062fd05ae0d0c195ec3ba1b" name="Mail/sendmail.php"/>
   <file role="php" md5sum="ed539e37c764c38205cb70597e0e84e4" name="Mail/smtp.php"/>
   <file role="php" md5sum="3a513a76e6222b50e7e1186a11cb7b2b" name="Mail/RFC822.php"/>
   <file role="test" md5sum="4117acf13586a15da2a5cdd368aa3931" name="tests/rfc822.phpt"/>
   <file role="test" md5sum="f293d173326d7167fd975a4db3293103" name="tests/smtp_error.phpt"/>
  </filelist>
 </release>
 <changelog>
   <release>
    <version>1.1.13</version>
    <date>2006-09-14</date>
    <state>stable</state>
    <notes>- Fix _sanitizeHeaders() so that it doesn&apos;t eat multiline headers. (Bug 8688, Bug 8699)
- The sendmail backend now correctly writes a blank line between the headers and body text. (Bug 8543)
    </notes>
   </release>
   <release>
    <version>1.1.12</version>
    <date>2006-09-13</date>
    <state>stable</state>
    <notes>- Fix typo in _sanitizeHeaders() that blanked out all headers. (Bug 8685)
    </notes>
   </release>
   <release>
    <version>1.1.11</version>
    <date>2006-09-12</date>
    <state>stable</state>
    <notes>- 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 &apos;sendmail_args&apos; value to include the &apos;-i&apos; argument. (Bug 7785)
- We now guard against email injection exploits. (Bug 6229)
    </notes>
   </release>
   <release>
    <version>1.1.10</version>
    <date>2006-04-25</date>
    <state>stable</state>
    <notes>- The SMTP driver now includes an error code in its PEAR_Error objects. (Bug 6983)
    </notes>
   </release>
   <release>
    <version>1.1.9</version>
    <date>2005-09-13</date>
    <state>stable</state>
    <notes>- 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)
    </notes>
   </release>
   <release>
    <version>1.1.8</version>
    <date>2005-08-23</date>
    <state>stable</state>
    <notes>- Removing a stray debugging line that snuck into the 1.1.7 release. (Bug 5190)
    </notes>
   </release>
   <release>
    <version>1.1.7</version>
    <date>2005-08-21</date>
    <state>stable</state>
    <notes>- Mail_RFC822::isValidInetAddress() now accepts the &apos;+&apos; 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 &apos;persist&apos; parameter which allows the internal SMTP connection object to be reused over multiple calls to the send() method. (Bug 4122)
    </notes>
   </release>
   <release>
    <version>1.1.6</version>
    <date>2005-07-12</date>
    <state>stable</state>
    <notes>- Don&apos;t emit warnings with PHP 4.4/5.1.
    </notes>
   </release>
   <release>
    <version>1.1.5</version>
    <date>2005-06-26</date>
    <state>stable</state>
    <notes>- Unfold long lines before parsing addresses in Mail_RFC822.
- The SMTP driver now supports a &apos;timeout&apos; value. (Request #3776)
- An array of Received: headers can now be provided. (Bug #4636)
    </notes>
   </release>
   <release>
    <version>1.1.4</version>
    <date>2004-09-08</date>
    <state>stable</state>
    <notes>- Header key comparisons are now case-insensitive. (Colin Viebrock)
- Header fields (e.g., &apos;Cc&apos;, &apos;Bcc&apos;) may now be specified as arrays of addresses. (Colin Viebrock)
- PHP5 compatibility fix (Bug #1563).
- PHP4 / Win32 compatibility fix for the &apos;sendmail&apos; driver (Bug 1881).
- Stricter &quot;local part&quot; 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.
    </notes>
   </release>
   <release>
    <version>1.1.3</version>
    <date>2004-04-08</date>
    <state>stable</state>
    <notes>- The &apos;mail&apos; driver now returns a PEAR_Error object on failure.
- The individual drivers no longer include the &apos;Mail.php&apos; file.  If you want to instantiate a driver directly, you&apos;ll need to explicitly include the &apos;Mail.php&apos; file yourself.
    </notes>
   </release>
   <release>
    <version>1.1.2</version>
    <date>2003-09-04</date>
    <state>stable</state>
    <notes>The &apos;localhost&apos; value can now be set in the SMTP driver.
    </notes>
   </release>
   <release>
    <version>1.1.1</version>
    <date>2003-06-26</date>
    <state>stable</state>
    <notes>Minor fixes with newlines in headers.
    </notes>
   </release>
   <release>
    <version>1.1.0</version>
    <date>2003-06-21</date>
    <state>stable</state>
    <notes>The Mail package now depends on Net_SMTP 1.1.0 or greater for its SMTP authentication capabilities.
    </notes>
   </release>
   <release>
    <version>1.0.2</version>
    <date>2002-07-27</date>
    <state>stable</state>
    <notes>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)
    </notes>
   </release>
   <release>
    <version>1.0.1</version>
    <date>2002-07-27</date>
    <state>stable</state>
    <notes>License change for RFC822.php
    </notes>
   </release>
   <release>
    <version>1.0</version>
    <date>2002-06-06</date>
    <state>stable</state>
    <notes>Initial release as PEAR package
    </notes>
   </release>
 </changelog>
</package>

