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, updateContext
public ExceptionEmailer(User user, ExceptionInfo ex)
public String getUniqueKey()
ContactableEmailer
getUniqueKey
in class ContactableEmailer<User>
public boolean shouldLog()
shouldLog
in class ContactableEmailer<User>
public boolean isTransactional()
ContactableEmailer
isTransactional
in class ContactableEmailer<User>
public String getTemplate()
ContactableEmailer
getTemplate
in class ContactableEmailer<User>
public String getSubject()
ContactableEmailer
getSubject
in class ContactableEmailer<User>
Copyright © 2016. All rights reserved.