Skip to content

Commit

Permalink
[jan] Don't try authentication to SMTP server if explicitly disabled …
Browse files Browse the repository at this point in the history
…(Bug #12830).
  • Loading branch information
yunosh committed Nov 18, 2013
1 parent e987319 commit ad9066f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion framework/Core/lib/Horde/Core/Factory/Mail.php
Expand Up @@ -49,7 +49,9 @@ public function create($config = null)

if (strcasecmp($transport, 'smtp') === 0) {
$transport = 'Smtphorde';
} elseif (empty($params['auth'])) {
}

if (empty($params['auth'])) {
unset($params['username'], $params['password']);
}

Expand Down
4 changes: 2 additions & 2 deletions framework/Core/package.xml
Expand Up @@ -39,7 +39,7 @@
</stability>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
*
* [jan] Don&apos;t try authentication to SMTP server if explicitly disabled (Bug #12830).
</notes>
<contents>
<dir baseinstalldir="/" name="/">
Expand Down Expand Up @@ -3240,7 +3240,7 @@
<date>2013-11-12</date>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
*
* [jan] Don&apos;t try authentication to SMTP server if explicitly disabled (Bug #12830).
</notes>
</release>
</changelog>
Expand Down

0 comments on commit ad9066f

Please sign in to comment.