public class EmailNotificationHandler extends NotificationHandler implements DBManEventListenerI
Benutzer via e-Mail FIXME update docs.| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
determineContentType(java.lang.String body) |
java.lang.String |
getByMedium() |
java.lang.String |
getConfigurationSectionTitlePostfix() |
java.util.Map<java.lang.String,de.ipcon.messaging.email.SimpleMailSender> |
getSenders()
When a notification should be sent to multiple recipients, including multiple
different addresses for the same recipient, the requested settings for
signing, encryption or use of inline PGP style may differ between them.
|
boolean |
isSuppressMsgID() |
boolean |
isUseInlinePGP() |
void |
processConfChangeEvent(ConfChangeEvent e)
Processes a configuration change event.
|
void |
processDBManEvent(DBManEvent e)
Invoked when a subscribed DBManEvent occurs.
|
void |
setSenders(java.util.Map<java.lang.String,de.ipcon.messaging.email.SimpleMailSender> $52) |
void |
setSuppressMsgID(boolean $54) |
void |
setUseInlinePGP(boolean $53) |
canHandle, getClazz, getNotificationModule, getState, setClazz, setNotificationModule, setState, stoppublic java.lang.String getByMedium()
getByMedium in class NotificationHandlerpublic java.lang.String getConfigurationSectionTitlePostfix()
getConfigurationSectionTitlePostfix in class NotificationHandlerpublic static java.lang.String determineContentType(java.lang.String body)
public void processConfChangeEvent(ConfChangeEvent e)
ConfChangeEventListenerIprocessConfChangeEvent in interface ConfChangeEventListenerIprocessConfChangeEvent in class NotificationHandlere - The ConfChangeEvent object containing details of the configuration change.public void processDBManEvent(DBManEvent e)
DBManEventListenerIDBManBOChangeEvent for events triggered after modification on BOs.processDBManEvent in interface DBManEventListenerIpublic java.util.Map<java.lang.String,de.ipcon.messaging.email.SimpleMailSender> getSenders()
This class stores all addresses a notification should be sent to but grouped by their requested settings.
This is then used to send as few emails as necessary to honour all the different settings while keeping things like CC lists intact as much as possible.
In many, if not most cases, we will still end up with just one settings group for all addresses though.
public void setSenders(java.util.Map<java.lang.String,de.ipcon.messaging.email.SimpleMailSender> $52)
public boolean isUseInlinePGP()
public void setUseInlinePGP(boolean $53)
public boolean isSuppressMsgID()
public void setSuppressMsgID(boolean $54)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.