@@ -56,18 +56,22 @@ class Ingo_Transport_Timsieved extends Ingo_Transport
? $this->_params['username']
: $this->_params['admin'];
+ $user = isset($this->_params['euser'])
+ ? $this->_params['euser']
+ : Ingo::getUser(false);
+
$this->_sieve = new Net_Sieve($auth,
$this->_params['password'],
$this->_params['hostspec'],
$this->_params['port'],
$this->_params['logintype'],
- Ingo::getUser(false),
+ $user,
$this->_params['debug'],
false,
$this->_params['usetls'],
null,
array($this, 'debug'));
-
+
$res = $this->_sieve->getError();
if ($res instanceof PEAR_Error) {
unset($this->_sieve);