public class HtmlEmailNotifier extends BaseEmailNotifier
See BaseEmailNotifier for initialization parameters.
Note: If the logger for this class is DEBUG, the debug setting will be passed onto the java mail api.
BaseEmailNotifier
logger
Constructor and Description |
---|
HtmlEmailNotifier() |
HtmlEmailNotifier(javax.servlet.FilterConfig config) |
HtmlEmailNotifier(javax.servlet.ServletConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
notify(java.lang.String subject,
java.lang.String message)
Will perfom a notification.
|
boolean |
supportsHtml()
Indicates if this notifier supports HTML-formatted messages.
|
boolean |
supportsSMS()
Indicates if this notifier support SMS, which usually infers a restricted
message size.
|
configure, configure, configure, getAllowedServerSet, getFromEmailAddress, getMailServerHost, getToEmailAddress, isSuppressEmail, setAllowedServerSet, setFromEmailAddress, setMailServerHost, setSuppressEmail, setToEmailAddress
public HtmlEmailNotifier()
public HtmlEmailNotifier(javax.servlet.FilterConfig config) throws javax.servlet.ServletException
javax.servlet.ServletException
public HtmlEmailNotifier(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
javax.servlet.ServletException
public void notify(java.lang.String subject, java.lang.String message)
Notifier
public boolean supportsHtml()
Notifier
supportsHtml
in interface Notifier
supportsHtml
in class BaseEmailNotifier
public boolean supportsSMS()
Notifier
supportsSMS
in interface Notifier
supportsSMS
in class BaseEmailNotifier
Copyright © 2015 The Admin4J Project. All Rights Reserved.