public class PostmarkMessage extends Object
| Constructor and Description |
|---|
PostmarkMessage(PostmarkMessage message) |
PostmarkMessage(String fromAddress,
String toAddress,
String replyToAddress,
String ccAddress,
String subject,
String body,
boolean isHTML,
String tag) |
PostmarkMessage(String fromAddress,
String toAddress,
String replyToAddress,
String ccAddress,
String subject,
String body,
boolean isHTML,
String tag,
List<NameValuePair> headers) |
PostmarkMessage(String fromAddress,
String toAddress,
String replyToAddress,
String ccAddress,
String bccAddress,
String subject,
String body,
boolean isHTML,
String tag,
List<NameValuePair> headers) |
| Modifier and Type | Method and Description |
|---|---|
void |
clean() |
boolean |
equals(Object o) |
List<Attachment> |
getAttachments() |
String |
getBccAddress() |
String |
getCcAddress() |
String |
getFromAddress() |
List<NameValuePair> |
getHeaders() |
String |
getHtmlBody() |
String |
getReplyToAddress() |
String |
getSubject() |
String |
getTag() |
String |
getTextBody() |
String |
getToAddress() |
int |
hashCode() |
void |
setAttachments(List<Attachment> attachments)
Lets you attach file.
|
void |
setBccAddress(String bccAddress) |
void |
setCcAddress(String ccAddress) |
void |
setFromAddress(String fromAddress) |
void |
setHeaders(List<NameValuePair> headers) |
void |
setHtmlBody(String htmlBody) |
void |
setReplyToAddress(String replyToAddress) |
void |
setSubject(String subject) |
void |
setTag(String tag) |
void |
setTextBody(String textBody) |
void |
setToAddress(String toAddress) |
String |
toString() |
void |
validate() |
public PostmarkMessage(String fromAddress, String toAddress, String replyToAddress, String ccAddress, String bccAddress, String subject, String body, boolean isHTML, String tag, List<NameValuePair> headers)
public PostmarkMessage(String fromAddress, String toAddress, String replyToAddress, String ccAddress, String subject, String body, boolean isHTML, String tag, List<NameValuePair> headers)
public PostmarkMessage(String fromAddress, String toAddress, String replyToAddress, String ccAddress, String subject, String body, boolean isHTML, String tag)
public PostmarkMessage(PostmarkMessage message)
public void clean()
public void validate()
throws PostmarkException
PostmarkExceptionpublic String getFromAddress()
public void setFromAddress(String fromAddress)
fromAddress - The email address the message is sent frompublic String getToAddress()
public void setToAddress(String toAddress)
toAddress - The email address the message is sent topublic String getCcAddress()
public void setCcAddress(String ccAddress)
ccAddress - The email address the message is sent topublic String getBccAddress()
public void setBccAddress(String bccAddress)
bccAddress - The email address a blind carbon copy of the message is sent topublic String getReplyToAddress()
public void setReplyToAddress(String replyToAddress)
replyToAddress - The reply-to email address of the messagepublic String getSubject()
public void setSubject(String subject)
subject - The email subjectpublic String getHtmlBody()
public void setHtmlBody(String htmlBody)
htmlBody - The HTML body content of the messagepublic String getTextBody()
public void setTextBody(String textBody)
textBody - The plain text body content of the messagepublic String getTag()
public void setTag(String tag)
tag - The tag (an optional category) that is associated with this mailpublic List<NameValuePair> getHeaders()
public void setHeaders(List<NameValuePair> headers)
headers - A map of all the email headerspublic List<Attachment> getAttachments()
public void setAttachments(List<Attachment> attachments)
Attachment for details.attachments - list of attachmentsCopyright © 2015. All Rights Reserved.