info.magnolia.module.mail.templates.impl
Class MgnlPageEmail

java.lang.Object
  extended by javax.mail.Message
      extended by javax.mail.internet.MimeMessage
          extended by info.magnolia.module.mail.templates.MgnlEmail
              extended by info.magnolia.module.mail.templates.MgnlMultipartEmail
                  extended by info.magnolia.module.mail.templates.impl.FreemarkerEmail
                      extended by info.magnolia.module.mail.templates.impl.MgnlPageEmail
All Implemented Interfaces:
javax.mail.internet.MimePart, javax.mail.Part

public class MgnlPageEmail
extends FreemarkerEmail

MgnlPageEmail. Date: Apr 6, 2006 Time: 9:24:29 PM

Author:
Nicolas Modrzyk

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.mail.internet.MimeMessage
javax.mail.internet.MimeMessage.RecipientType
 
Field Summary
static String SUFFIX
           
 
Fields inherited from class info.magnolia.module.mail.templates.MgnlMultipartEmail
multipart
 
Fields inherited from class info.magnolia.module.mail.templates.MgnlEmail
CHARSET_HEADER_STRING, CONTENT_TYPE, EMAIL_WITH_PERSONAL_PATTERN, log, TEXT_HTML_UTF, TEXT_PLAIN_UTF
 
Fields inherited from class javax.mail.internet.MimeMessage
content, contentStream, dh, flags, headers, modified, saved
 
Fields inherited from class javax.mail.Message
expunged, folder, msgnum, session
 
Fields inherited from interface javax.mail.Part
ATTACHMENT, INLINE
 
Constructor Summary
MgnlPageEmail(MailTemplate template)
           
 
Method Summary
 void setBodyFromResourceFile()
           
 void setBodyFromTemplate(freemarker.template.Template template, Map _map)
           
 
Methods inherited from class info.magnolia.module.mail.templates.impl.FreemarkerEmail
proccesFreemarkerString, setBody, setFrom, setSubject, setToList
 
Methods inherited from class info.magnolia.module.mail.templates.MgnlMultipartEmail
addAttachment, getMailMultipart, isMultipart
 
Methods inherited from class info.magnolia.module.mail.templates.MgnlEmail
getContentType, getTemplate, isBodyNotSetFlag, setAttachments, setBccList, setBody, setBodyNotSetFlag, setCcList, setCharsetHeader, setReplyToList, setTemplate
 
Methods inherited from class javax.mail.internet.MimeMessage
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
 
Methods inherited from class javax.mail.Message
addRecipient, getFolder, getMessageNumber, isExpunged, match, setExpunged, setFlag, setMessageNumber, setRecipient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUFFIX

public static final String SUFFIX
See Also:
Constant Field Values
Constructor Detail

MgnlPageEmail

public MgnlPageEmail(MailTemplate template)
Method Detail

setBodyFromResourceFile

public void setBodyFromResourceFile()
                             throws Exception
Overrides:
setBodyFromResourceFile in class FreemarkerEmail
Throws:
Exception

setBodyFromTemplate

public void setBodyFromTemplate(freemarker.template.Template template,
                                Map _map)
                         throws Exception
Throws:
Exception


Copyright © 2003-2010 Magnolia International Ltd.. All Rights Reserved.