public static class ExceptionEmailRunnable.ExceptionEmailer extends ContactableEmailer<User>
dayStamp, hourStamp, minuteStamp, sandbox, template, templateUrl, user, weekStamp| Constructor and Description |
|---|
ExceptionEmailer(User user,
ExceptionInfo ex) |
| Modifier and Type | Method and Description |
|---|---|
String |
getSubject()
Your email subject.
|
String |
getTemplate()
The path to the jinja template.
|
String |
getUniqueKey()
This is used to prevent accidentally sending duplicate emails, by default the
uniqueKey is built from the subject, the contact id, the current week, and the email type.
|
boolean |
isTransactional()
Return true if this is an email that opt-out should not apply to.
|
boolean |
shouldLog() |
checkDefaultOptOut, checkOptOut, getCc, getContext, getEmailType, getFromAddress, getReplyTo, getSandbox, hasSeenKey, markSeenKey, onPrepareContext, onPreSend, prepareContext, put, sendEmail, setSandbox, updateContextpublic ExceptionEmailer(User user, ExceptionInfo ex)
public String getUniqueKey()
ContactableEmailergetUniqueKey in class ContactableEmailer<User>public boolean shouldLog()
shouldLog in class ContactableEmailer<User>public boolean isTransactional()
ContactableEmailerisTransactional in class ContactableEmailer<User>public String getTemplate()
ContactableEmailergetTemplate in class ContactableEmailer<User>public String getSubject()
ContactableEmailergetSubject in class ContactableEmailer<User>Copyright © 2016. All rights reserved.