Skip to content

/AWS1/CL_PPECONTENT

An object that represents the content of the email, and optionally a character set specification.

CONSTRUCTOR

IMPORTING

Required arguments:

IV_DATA TYPE /AWS1/PPEMESSAGEDATA /AWS1/PPEMESSAGEDATA

The content of the message itself.

Optional arguments:

IV_CHARSET TYPE /AWS1/PPECHARSET /AWS1/PPECHARSET

The character set for the content. Because of the constraints of the SMTP protocol, Amazon Pinpoint uses 7-bit ASCII by default. If the text includes characters outside of the ASCII range, you have to specify a character set. For example, you could specify UTF-8, ISO-8859-1, or Shift_JIS.


Queryable Attributes

Data

The content of the message itself.

Accessible with the following methods

Method Description
GET_DATA() Getter for DATA, with configurable default
ASK_DATA() Getter for DATA w/ exceptions if field has no value
HAS_DATA() Determine if DATA has a value

Charset

The character set for the content. Because of the constraints of the SMTP protocol, Amazon Pinpoint uses 7-bit ASCII by default. If the text includes characters outside of the ASCII range, you have to specify a character set. For example, you could specify UTF-8, ISO-8859-1, or Shift_JIS.

Accessible with the following methods

Method Description
GET_CHARSET() Getter for CHARSET, with configurable default
ASK_CHARSET() Getter for CHARSET w/ exceptions if field has no value
HAS_CHARSET() Determine if CHARSET has a value