Skip to content

Commit

Permalink
Add server/port information to debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Mar 19, 2014
1 parent 8678fa9 commit aeacf34
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions framework/Smtp/lib/Horde/Smtp.php
Expand Up @@ -354,6 +354,12 @@ public function login()
throw $e2;
}

$this->_debug->info(sprintf(
'Connection to: smtp://%s:%s',
$this->getParam('host'),
$this->getParam('port')
));

// Get initial line (RFC 5321 [3.1]).
$this->_getResponse(220, 'logout');
}
Expand Down

0 comments on commit aeacf34

Please sign in to comment.