public class MgnlPageEmail extends FreemarkerEmail
Modifier and Type | Field and Description |
---|---|
static String |
SUFFIX |
multipartMixed, multipartRelated
CHARSET_HEADER_STRING, CONTENT_TYPE, log, TEXT_HTML_UTF, TEXT_PLAIN_UTF
Constructor and Description |
---|
MgnlPageEmail(MailTemplate template) |
Modifier and Type | Method and Description |
---|---|
protected String |
cleanupHtmlCode(String content) |
info.magnolia.cms.i18n.Messages |
getMessages() |
void |
setBodyFromResourceFile() |
void |
setBodyFromTemplate(freemarker.template.Template template,
Map _map) |
proccesFreemarkerString, processFreemarkerString, setBody, setFrom, setSubject, setToList
addAttachment, getMailMultipart, isMultipart
getContentType, getTemplate, isBodyNotSetFlag, setAttachments, setBccList, setBody, setBodyNotSetFlag, setCcList, setCharsetHeader, setReplyToList, setTemplate
addFrom, addHeader, addHeaderLine, addRecipients, addRecipients, createInternetHeaders, createMimeMessage, getAllHeaderLines, getAllHeaders, getAllRecipients, getContent, getContentID, getContentLanguage, getContentMD5, getContentStream, getDataHandler, getDescription, getDisposition, getEncoding, getFileName, getFlags, getFrom, getHeader, getHeader, getInputStream, getLineCount, getMatchingHeaderLines, getMatchingHeaders, getMessageID, getNonMatchingHeaderLines, getNonMatchingHeaders, getRawInputStream, getReceivedDate, getRecipients, getReplyTo, getSender, getSentDate, getSize, getSubject, isMimeType, isSet, parse, removeHeader, reply, saveChanges, setContent, setContent, setContentID, setContentLanguage, setContentMD5, setDataHandler, setDescription, setDescription, setDisposition, setFileName, setFlags, setFrom, setFrom, setHeader, setRecipients, setRecipients, setReplyTo, setSender, setSentDate, setSubject, setText, setText, setText, updateHeaders, updateMessageID, writeTo, writeTo
public static final String SUFFIX
public MgnlPageEmail(MailTemplate template)
public void setBodyFromResourceFile() throws Exception
setBodyFromResourceFile
in class FreemarkerEmail
Exception
public void setBodyFromTemplate(freemarker.template.Template template, Map _map) throws Exception
Exception
public info.magnolia.cms.i18n.Messages getMessages()
Copyright © 2015 Magnolia International Ltd.. All rights reserved.