/AWS1/CL_SESTEMPLATE¶
The content of the email, composed of a subject line and either an HTML part or a text-only part.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_templatename TYPE /AWS1/SESTEMPLATENAME /AWS1/SESTEMPLATENAME¶
The name of the template. You use this name when you send email using the
SendTemplatedEmailorSendBulkTemplatedEmailoperations.
Optional arguments:¶
iv_subjectpart TYPE /AWS1/SESSUBJECTPART /AWS1/SESSUBJECTPART¶
The subject line of the email.
iv_textpart TYPE /AWS1/SESTEXTPART /AWS1/SESTEXTPART¶
The email body that is visible to recipients whose email clients do not display HTML content.
iv_htmlpart TYPE /AWS1/SESHTMLPART /AWS1/SESHTMLPART¶
The HTML body of the email.
Queryable Attributes¶
TemplateName¶
The name of the template. You use this name when you send email using the
SendTemplatedEmailorSendBulkTemplatedEmailoperations.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TEMPLATENAME() |
Getter for TEMPLATENAME, with configurable default |
ASK_TEMPLATENAME() |
Getter for TEMPLATENAME w/ exceptions if field has no value |
HAS_TEMPLATENAME() |
Determine if TEMPLATENAME has a value |
SubjectPart¶
The subject line of the email.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SUBJECTPART() |
Getter for SUBJECTPART, with configurable default |
ASK_SUBJECTPART() |
Getter for SUBJECTPART w/ exceptions if field has no value |
HAS_SUBJECTPART() |
Determine if SUBJECTPART has a value |
TextPart¶
The email body that is visible to recipients whose email clients do not display HTML content.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TEXTPART() |
Getter for TEXTPART, with configurable default |
ASK_TEXTPART() |
Getter for TEXTPART w/ exceptions if field has no value |
HAS_TEXTPART() |
Determine if TEXTPART has a value |
HtmlPart¶
The HTML body of the email.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_HTMLPART() |
Getter for HTMLPART, with configurable default |
ASK_HTMLPART() |
Getter for HTMLPART w/ exceptions if field has no value |
HAS_HTMLPART() |
Determine if HTMLPART has a value |