Merge "Allow ChangeEmail derived classes to append to the mail footer"
This commit is contained in:
@@ -121,11 +121,16 @@ public abstract class ChangeEmail extends OutgoingEmail {
|
||||
}
|
||||
} catch (OrmException e) {
|
||||
}
|
||||
formatFooter();
|
||||
}
|
||||
|
||||
/** Format the message body by calling {@link #appendText(String)}. */
|
||||
protected abstract void formatChange() throws EmailException;
|
||||
|
||||
/** Format the message footer by calling {@link #appendText(String)}. */
|
||||
protected void formatFooter() throws EmailException {
|
||||
}
|
||||
|
||||
/** Setup the message headers and envelope (TO, CC, BCC). */
|
||||
protected void init() throws EmailException {
|
||||
if (args.projectCache != null) {
|
||||
|
||||
Reference in New Issue
Block a user