info.magnolia.module.mail
Class MailTemplate
java.lang.Object
info.magnolia.module.mail.MailTemplate
public class MailTemplate
- extends java.lang.Object
Mail template used to send emails with Magnolia.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAIL_CONTENT_TYPE
public static java.lang.String MAIL_CONTENT_TYPE
MAIL_FROM
public static java.lang.String MAIL_FROM
MAIL_SUBJECT
public static java.lang.String MAIL_SUBJECT
MAIL_TO
public static java.lang.String MAIL_TO
MAIL_TO_WORKFLOW
public static java.lang.String MAIL_TO_WORKFLOW
MAIL_CC
public static java.lang.String MAIL_CC
MAIL_TYPE
public static java.lang.String MAIL_TYPE
MAIL_PARAMETERS
public static java.lang.String MAIL_PARAMETERS
MAIL_ATTACHMENTS
public static java.lang.String MAIL_ATTACHMENTS
MAIL_BODY
public static java.lang.String MAIL_BODY
MAIL_HTML
public static final java.lang.String MAIL_HTML
- See Also:
- Constant Field Values
MAIL_TEMPLATE_FILE
public static final java.lang.String MAIL_TEMPLATE_FILE
- See Also:
- Constant Field Values
MailTemplate
public MailTemplate()
getParameters
public java.util.Map<java.lang.String,java.lang.Object> getParameters()
setParameters
public void setParameters(java.util.Map<java.lang.String,java.lang.Object> parameters)
getAttachments
public java.util.List<MailAttachment> getAttachments()
setAttachments
public void setAttachments(java.util.List<MailAttachment> attachments)
addAttachment
public void addAttachment(MailAttachment attachment)
getFrom
public java.lang.String getFrom()
setFrom
public void setFrom(java.lang.String from)
getTo
public java.lang.String getTo()
setTo
public void setTo(java.lang.String to)
getSubject
public java.lang.String getSubject()
setSubject
public void setSubject(java.lang.String subject)
getType
public java.lang.String getType()
setType
public void setType(java.lang.String type)
getContentType
public java.lang.String getContentType()
setContentType
public void setContentType(java.lang.String contentType)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getText
public java.lang.String getText()
setText
public void setText(java.lang.String text)
getCc
public java.lang.String getCc()
setCc
public void setCc(java.lang.String cc)
setValues
public void setValues(java.util.Map<java.lang.String,java.lang.Object> params,
java.util.List<MailAttachment> attachments)
getTemplateFile
public java.lang.String getTemplateFile()
setTemplateFile
public void setTemplateFile(java.lang.String templateFile)
getBcc
public java.lang.String getBcc()
setBcc
public void setBcc(java.lang.String bcc)
getReplyTo
public java.lang.String getReplyTo()
setReplyTo
public void setReplyTo(java.lang.String replyTo)
initSession
public javax.mail.Session initSession()
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.