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