public class PostmarkTemplate extends PostmarkMessageBase
attachments, bccAddress, ccAddress, fromAddress, headers, replyToAddress, tag, toAddress| Constructor and Description |
|---|
PostmarkTemplate(String fromAddress,
String toAddress,
String replyToAddress,
String ccAddress,
String tag,
int templateId,
TemplateModel templateModel,
boolean inlineCss) |
PostmarkTemplate(String fromAddress,
String toAddress,
String replyToAddress,
String ccAddress,
String tag,
List<NameValuePair> headers,
int templateId,
TemplateModel templateModel,
boolean inlineCss) |
PostmarkTemplate(String fromAddress,
String toAddress,
String replyToAddress,
String ccAddress,
String bccAddress,
String tag,
List<NameValuePair> headers,
int templateId,
TemplateModel templateModel,
boolean inlineCss) |
| Modifier and Type | Method and Description |
|---|---|
void |
clean() |
boolean |
equals(Object o) |
boolean |
getInlineCss() |
int |
getTemplateId() |
TemplateModel |
getTemplateModel() |
int |
hashCode() |
void |
setInlineCss(boolean inlineCss) |
void |
setTemplateId(int templateId) |
void |
setTemplateModel(TemplateModel templateModel) |
String |
toString() |
addAttachment, getAttachments, getBccAddress, getCcAddress, getFromAddress, getHeaders, getReplyToAddress, getTag, getToAddress, setAttachments, setBccAddress, setCcAddress, setFromAddress, setHeaders, setReplyToAddress, setTag, setToAddress, validatepublic PostmarkTemplate(String fromAddress, String toAddress, String replyToAddress, String ccAddress, String bccAddress, String tag, List<NameValuePair> headers, int templateId, TemplateModel templateModel, boolean inlineCss)
public PostmarkTemplate(String fromAddress, String toAddress, String replyToAddress, String ccAddress, String tag, List<NameValuePair> headers, int templateId, TemplateModel templateModel, boolean inlineCss)
public void clean()
clean in class PostmarkMessageBasepublic int getTemplateId()
public void setTemplateId(int templateId)
templateId - The template id to render the email.public TemplateModel getTemplateModel()
public void setTemplateModel(TemplateModel templateModel)
templateModel - the template modelpublic boolean getInlineCss()
public void setInlineCss(boolean inlineCss)
inlineCss - set if email styling should be inlined CSS.Copyright © 2017. All rights reserved.