Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing the detection of SASL-based AUTH methods.

Bug #18594
  • Loading branch information...
commit 4ea2b643ddbee9276ab661b2925f52920714f226 1 parent 2484e4e
@jparise jparise authored
Showing with 3 additions and 7 deletions.
  1. +1 −1  SMTP.php
  2. +2 −6 package.xml
View
2  SMTP.php
@@ -189,7 +189,7 @@ function Net_SMTP($host = null, $port = null, $localhost = null,
/* Include the Auth_SASL package. If the package is available, we
* enable the authentication methods that depend upon it. */
- if ((@include_once 'Auth/SASL.php') === true) {
+ if (@include_once 'Auth/SASL.php') {
$this->setAuthMethod('CRAM-MD5', array($this, '_authCram_MD5'));
$this->setAuthMethod('DIGEST-MD5', array($this, '_authDigest_MD5'));
}
View
8 package.xml
@@ -22,7 +22,7 @@
<date>2011-06-05</date>
<time>20:40:00</time>
<version>
- <release>1.6.0</release>
+ <release>1.6.1</release>
<api>1.2.0</api>
</version>
<stability>
@@ -30,11 +30,7 @@
<api>stable</api>
</stability>
<license uri="http://www.php.net/license/3_01.txt">PHP License</license>
- <notes>- Adding a new command() method for sending arbitrary SMTP commands.
-- More kinds of socket write() failures are now detected.
-- Improved PEAR_Error internal handling. (Bug 18469)
-- External authentication methods are now supported via setAuthMethod().
-- Resource-based data streams are no longer terminated prematurely. (Bug 18563)
+ <notes>- Fixing the detection of SASL-based AUTH methods. (Bug #18594)
</notes>
<contents>
<dir baseinstalldir="Net" name="/">
Please sign in to comment.
Something went wrong with that request. Please try again.