| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EMAIL_CLASSIFICATION
The email classification type would be stored as this parameter name in the email
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContent()
Get the email content
|
java.lang.String |
getFromAddress()
Get the email address for sender.
|
Resource |
getResource() |
java.lang.String |
getSubject()
Get the email subject.
|
boolean |
isHtml()
Whether the content is plain text or HTML
|
void |
setContent(java.lang.String content)
Set the email content
|
void |
setFromAddress(java.lang.String fromAddress)
Set the sender's email address.
|
void |
setHtml(boolean isHtml)
Set whether content is plain text or HTML
|
void |
setResource(Resource resource)
Set the resource to that of associated newsletter
|
void |
setSubject(java.lang.String subject)
Set the email subject
|
static final java.lang.String EMAIL_CLASSIFICATION
java.lang.String getSubject()
void setSubject(java.lang.String subject)
subject - The email subject.java.lang.String getContent()
void setContent(java.lang.String content)
content - The email content which could be text or htmlboolean isHtml()
void setHtml(boolean isHtml)
isHtml - true if HTML, false otherwise.java.lang.String getFromAddress()
void setFromAddress(java.lang.String fromAddress)
fromAddress - sender's email addressvoid setResource(Resource resource)
resource - of associated newsletterResource getResource()
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"