Skip to content

Commit

Permalink
[mms] Fix handling servers that don't support ESMTP (Bug #12853).
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Nov 21, 2013
1 parent fb255f0 commit 0f8aa28
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions framework/Smtp/lib/Horde/Smtp.php
Expand Up @@ -379,6 +379,12 @@ public function login()
case 502:
// Old server - doesn't support EHLO
$this->_connection->write('HELO ' . $host);
try {
$this->_getResponse(250);
} catch (Horde_Smtp_Exception $e2) {
$this->logout();
throw $e;
}
$this->_extensions = array();
break;

Expand Down
2 changes: 2 additions & 0 deletions framework/Smtp/package.xml
Expand Up @@ -21,6 +21,7 @@
</stability>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
* [mms] Fix handling servers that don&apos;t support ESMTP (Bug #12853).
* [mms] Fix returning reply code in Exceptions.
</notes>
<contents>
Expand Down Expand Up @@ -304,6 +305,7 @@
<date>2013-10-30</date>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
* [mms] Fix handling servers that don&apos;t support ESMTP (Bug #12853).
* [mms] Fix returning reply code in Exceptions.
</notes>
</release>
Expand Down

0 comments on commit 0f8aa28

Please sign in to comment.