public class EMailNotifications extends Notifications
Modifier and Type | Field and Description |
---|---|
static String |
MAIL_RECEIVER_SETTING
settings.common.notifications.receiver:
The setting for the receiver of email notifications. |
static String |
MAIL_SENDER_SETTING
settings.common.notifications.sender:
The setting for the sender of email notifications (and receiver of bounces). |
static String |
MAIL_SUBJECTPREFIX_SETTING
settings.common.notifications.subjectPrefix:
The subject prefix for the mail-notifications. |
Constructor and Description |
---|
EMailNotifications() |
Modifier and Type | Method and Description |
---|---|
void |
notify(String message,
NotificationType eventType,
Throwable e)
Sends a notification including an exception.
|
notify
public static String MAIL_RECEIVER_SETTING
public static String MAIL_SENDER_SETTING
public static String MAIL_SUBJECTPREFIX_SETTING
public EMailNotifications()
public void notify(String message, NotificationType eventType, Throwable e)
notify
in class Notifications
message
- The message to notify about.eventType
- The type of notificatione
- The exception to notify about.Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.