public class ContentProcessingErrorMailMessage extends MailMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
ContentProcessingErrorMailMessage.Type
The possible error types to be handled by this mail message.
|
ACTIVATION_LINK_PREFIX| Constructor and Description |
|---|
ContentProcessingErrorMailMessage(User recipient,
String blogTitle,
ContentProcessingErrorMailMessage.Type errorType) |
| Modifier and Type | Method and Description |
|---|---|
void |
prepareModel(Map<String,Object> model)
Prepare a model of key-value pairs which will be passed to the template engine when the
content and subject templates should be rendered.
|
addBcc, addCc, addTo, addTo, addTo, getBcc, getCc, getContentTemplate, getContentTemplateId, getFromAddress, getFromAddressName, getGlobalModel, getLocale, getMessageIdentifier, getReplyToAddress, getReplyToAddressName, getSubjectTemplate, getSubjectTemplateId, getTo, getToAddresses, getToAddressPersonalName, isHtmlMail, isInsertRecipientPersonalName, setFromAddress, setFromAddressName, setInsertRecipientPersonalNamepublic ContentProcessingErrorMailMessage(User recipient, String blogTitle, ContentProcessingErrorMailMessage.Type errorType)
recipient - the user to inform about the problem that occurred while processing the contentblogTitle - the blog titleerrorType - the error typepublic void prepareModel(Map<String,Object> model)
MailMessageprepareModel in class MailMessagemodel - The model to prepare. It will be initialized with the settings returned by
MailMessage.getGlobalModel().Copyright © 2019 Communote team. All rights reserved.