}
$header = array_merge($header, $result['header']);
} catch (IMP_Compose_Exception $e) {
- $notification->push($e->getMessage(), 'horde.error');
+ $notification->push($e);
}
$get_sig = false;
break;
$sent_mail_folder = $identity->getValue('sent_mail_folder');
}
} catch (IMP_Compose_Exception $e) {
- $notification->push($e, 'horde.error');
+ $notification->push($e);
}
break;
exit;
} catch (Horde_Exception $e) {
$actionID = 'rc';
- $notification->push($e, 'horde.error');
+ $notification->push($e);
}
break;
exit;
}
} catch (IMP_Compose_Exception $e) {
- $notification->push($e, 'horde.error');
+ $notification->push($e);
}
break;
exit;
}
} catch (IMP_Compose_Exception $e) {
- $notification->push($e, 'horde.error');
+ $notification->push($e);
}
break;
}
$sent_mail_folder = $identity->getValue('sent_mail_folder');
}
} catch (IMP_Compose_Exception $e) {
- $notification->push($e, 'horde.error');
+ $notification->push($e);
}
$get_sig = false;
break;
}
exit;
} catch (Horde_Exception $e) {
- $notification->push($e, 'horde.error');
+ $notification->push($e);
$vars->actionID = 'redirect_compose';
$get_sig = false;
}
}
} catch (IMP_Compose_Exception $e) {
if ($vars->actionID == 'save_draft') {
- $notification->push($e, 'horde.error');
+ $notification->push($e);
}
}
}
try {
$imp_compose->addMIMEPartAttachment($part);
} catch (IMP_Compose_Exception $e) {
- $notification->push($e, 'horde.error');
+ $notification->push($e);
}
}
}
fclose($mbox);
} catch (Horde_Exception $e) {
fclose($mbox);
- $notification->push($e, 'horde.error');
+ $notification->push($e);
break;
}
fseek($data, 0, SEEK_END);
$result->mailbox = $this->_getMailboxResponse($imptree);
}
} catch (Horde_Exception $e) {
- $GLOBALS['notification']->push($e, 'horde.error');
+ $GLOBALS['notification']->push($e);
$result = false;
}
$result->mailbox = $this->_getMailboxResponse($imptree);
}
} catch (Horde_Exception $e) {
- $GLOBALS['notification']->push($e, 'horde.error');
+ $GLOBALS['notification']->push($e);
}
return $result;
$GLOBALS['notification']->push(sprintf(_("%s was successfully added to your address book."), $this->_vars->name ? $this->_vars->name : $this->_vars->email), 'horde.success');
return true;
} catch (Horde_Exception $e) {
- $GLOBALS['notification']->push($e, 'horde.error');
+ $GLOBALS['notification']->push($e);
return false;
}
}
}
}
} catch (Horde_Exception $e) {
- $GLOBALS['notification']->push($e, 'horde.error');
+ $GLOBALS['notification']->push($e);
$result = $this->_checkUidvalidity();
}
}
}
} catch (Horde_Exception $e) {
- $GLOBALS['notification']->push($e, 'horde.error');
+ $GLOBALS['notification']->push($e);
$result = $this->_checkUidvalidity();
}
$sent = $imp_compose->buildAndSendMessage($this->_vars->message, $headers, Horde_Nls::getEmailCharset(), $this->_vars->html, $options);
} catch (IMP_Compose_Exception $e) {
$result->success = 0;
- $GLOBALS['notification']->push($e, 'horde.error');
+ $GLOBALS['notification']->push($e);
return $result;
}
}
} catch (IMP_Compose_Exception $e) {
$result->success = 0;
- $GLOBALS['notification']->push($e, 'horde.error');
+ $GLOBALS['notification']->push($e);
}
return $result;
try {
$GLOBALS['imp_imap']->ob()->openMailbox($this->_vars->view, $rw ? Horde_Imap_Client::OPEN_READWRITE : Horde_Imap_Client::OPEN_AUTO);
} catch (Horde_Imap_Client_Exception $e) {
- $GLOBALS['notification']->push($e->getMessage(), 'horde.error');
+ $GLOBALS['notification']->push($e);
return null;
}
}
try {
$this->_threadob = $GLOBALS['imp_imap']->ob()->thread($this->_mailbox, array('criteria' => $_SESSION['imp']['imap']['thread']));
} catch (Horde_Imap_Client_Exception $e) {
- $GLOBALS['notification']->push($e, 'horde.error');
+ $GLOBALS['notification']->push($e);
return new Horde_Imap_Client_Thread(array(), 'uid');
}
}
$contact_link = IMP::addAddress($vars->address, $vars->name);
$notification->push(sprintf(_("Entry \"%s\" was successfully added to the address book"), $contact_link), 'horde.success', array('content.raw'));
} catch (Horde_Exception $e) {
- $notification->push($e, 'horde.error');
+ $notification->push($e);
}
break;
try {
$imp_message->stripPart($indices_array, ($vars->actionID == 'strip_all') ? null : $vars->imapid);
} catch (Horde_Exception $e) {
- $notification->push($e, 'horde.error');
+ $notification->push($e);
}
break;
}
$notification->push(_("No PGP public key imported."), 'horde.error');
throw new Horde_Exception_Prior($e);
} catch (Horde_Exception $e) {
- $notification->push($e, 'horde.error');
+ $notification->push($e);
$actionID = 'import_public_key';
$imp_pgp->importKeyDialog('process_import_public_key', Horde_Util::getFormData('reload'));
}
$notification->push(_("No personal PGP public key imported."), 'horde.error');
throw new Horde_Exception_Prior($e);
} catch (Horde_Exception $e) {
- $notification->push($e->getMessage(), 'horde.error');
+ $notification->push($e);
$imp_pgp->importKeyDialog('process_import_personal_public_key', Horde_Util::getFormData('reload'));
}
exit;
$notification->push(_("No personal PGP private key imported."), 'horde.error');
throw new Horde_Exception_Prior($e);
} catch (Horde_Exception $e) {
- $notification->push($e->getMessage(), 'horde.error');
+ $notification->push($e);
$imp_pgp->importKeyDialog('process_import_personal_private_key', Horde_Util::getFormData('reload'));
}
exit;
try {
$registry->call('images/saveImage', array(null, Horde_Util::getFormData('gallery'), $image_data));
} catch (Horde_Exception $e) {
- $notification->push($e, 'horde.error');
+ $notification->push($e);
break;
}
Horde_Util::closeWindowJS();
$notification->push(_("No S/MIME public key imported."), 'horde.error');
throw new Horde_Exception_Prior($e);
} catch (Horde_Exception $e) {
- $notification->push($e, 'horde.error');
+ $notification->push($e);
$actionID = 'import_public_key';
$imp_smime->importKeyDialog('process_import_public_key', Horde_Util::getFormData('reload'));
}