info.magnolia.module.mail
Class MailTemplate
java.lang.Object
info.magnolia.module.mail.MailTemplate
public class MailTemplate
- extends 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 String MAIL_CONTENT_TYPE
MAIL_FROM
public static String MAIL_FROM
MAIL_SUBJECT
public static String MAIL_SUBJECT
MAIL_TO
public static String MAIL_TO
MAIL_TO_WORKFLOW
public static String MAIL_TO_WORKFLOW
MAIL_CC
public static String MAIL_CC
MAIL_TYPE
public static String MAIL_TYPE
MAIL_PARAMETERS
public static String MAIL_PARAMETERS
MAIL_ATTACHMENTS
public static String MAIL_ATTACHMENTS
MAIL_BODY
public static String MAIL_BODY
MAIL_HTML
public static final String MAIL_HTML
- See Also:
- Constant Field Values
MAIL_TEMPLATE_FILE
public static final String MAIL_TEMPLATE_FILE
- See Also:
- Constant Field Values
MailTemplate
public MailTemplate()
getParameters
public Map<String,Object> getParameters()
setParameters
public void setParameters(Map<String,Object> parameters)
getAttachments
public List<MailAttachment> getAttachments()
setAttachments
public void setAttachments(List<MailAttachment> attachments)
addAttachment
public void addAttachment(MailAttachment attachment)
getFrom
public String getFrom()
setFrom
public void setFrom(String from)
getTo
public String getTo()
setTo
public void setTo(String to)
getSubject
public String getSubject()
setSubject
public void setSubject(String subject)
getType
public String getType()
setType
public void setType(String type)
getContentType
public String getContentType()
setContentType
public void setContentType(String contentType)
getName
public String getName()
setName
public void setName(String name)
getText
public String getText()
setText
public void setText(String text)
getCc
public String getCc()
setCc
public void setCc(String cc)
getUsername
public String getUsername()
setUsername
public void setUsername(String username)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
setValues
public void setValues(Map<String,Object> params,
List<MailAttachment> attachments)
getTemplateFile
public String getTemplateFile()
setTemplateFile
public void setTemplateFile(String templateFile)
getBcc
public String getBcc()
setBcc
public void setBcc(String bcc)
getReplyTo
public String getReplyTo()
setReplyTo
public void setReplyTo(String replyTo)
initSession
public javax.mail.Session initSession()
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.