Skip to content

/AWS1/CL_SEBBOUNCEACTION

The action to send a bounce response for the email. When executed, this action generates a non-delivery report (bounce) back to the sender.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_rolearn TYPE /AWS1/SEBIAMROLEARN /AWS1/SEBIAMROLEARN

The Amazon Resource Name (ARN) of the IAM role to use to send the bounce message.

iv_sender TYPE /AWS1/SEBEMAILADDRESS /AWS1/SEBEMAILADDRESS

The sender email address of the bounce message.

iv_statuscode TYPE /AWS1/SEBSTATUSCODE /AWS1/SEBSTATUSCODE

The enhanced status code for the bounce, in the format of x.y.z (e.g. 5.1.1).

iv_smtpreplycode TYPE /AWS1/SEBSMTPREPLYCODE /AWS1/SEBSMTPREPLYCODE

The SMTP reply code for the bounce, as defined by RFC 5321.

iv_diagnosticmessage TYPE /AWS1/SEBDIAGNOSTICMESSAGE /AWS1/SEBDIAGNOSTICMESSAGE

The diagnostic message included in the Diagnostic-Code header of the bounce.

Optional arguments:

iv_actionfailurepolicy TYPE /AWS1/SEBACTIONFAILUREPOLICY /AWS1/SEBACTIONFAILUREPOLICY

A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the caller does not have the permissions to call the SendBounce API.

iv_message TYPE /AWS1/SEBBOUNCEMESSAGE /AWS1/SEBBOUNCEMESSAGE

The human-readable text to include in the bounce message.


Queryable Attributes

ActionFailurePolicy

A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the caller does not have the permissions to call the SendBounce API.

Accessible with the following methods

Method Description
GET_ACTIONFAILUREPOLICY() Getter for ACTIONFAILUREPOLICY, with configurable default
ASK_ACTIONFAILUREPOLICY() Getter for ACTIONFAILUREPOLICY w/ exceptions if field has no
HAS_ACTIONFAILUREPOLICY() Determine if ACTIONFAILUREPOLICY has a value

RoleArn

The Amazon Resource Name (ARN) of the IAM role to use to send the bounce message.

Accessible with the following methods

Method Description
GET_ROLEARN() Getter for ROLEARN, with configurable default
ASK_ROLEARN() Getter for ROLEARN w/ exceptions if field has no value
HAS_ROLEARN() Determine if ROLEARN has a value

Sender

The sender email address of the bounce message.

Accessible with the following methods

Method Description
GET_SENDER() Getter for SENDER, with configurable default
ASK_SENDER() Getter for SENDER w/ exceptions if field has no value
HAS_SENDER() Determine if SENDER has a value

StatusCode

The enhanced status code for the bounce, in the format of x.y.z (e.g. 5.1.1).

Accessible with the following methods

Method Description
GET_STATUSCODE() Getter for STATUSCODE, with configurable default
ASK_STATUSCODE() Getter for STATUSCODE w/ exceptions if field has no value
HAS_STATUSCODE() Determine if STATUSCODE has a value

SmtpReplyCode

The SMTP reply code for the bounce, as defined by RFC 5321.

Accessible with the following methods

Method Description
GET_SMTPREPLYCODE() Getter for SMTPREPLYCODE, with configurable default
ASK_SMTPREPLYCODE() Getter for SMTPREPLYCODE w/ exceptions if field has no value
HAS_SMTPREPLYCODE() Determine if SMTPREPLYCODE has a value

DiagnosticMessage

The diagnostic message included in the Diagnostic-Code header of the bounce.

Accessible with the following methods

Method Description
GET_DIAGNOSTICMESSAGE() Getter for DIAGNOSTICMESSAGE, with configurable default
ASK_DIAGNOSTICMESSAGE() Getter for DIAGNOSTICMESSAGE w/ exceptions if field has no v
HAS_DIAGNOSTICMESSAGE() Determine if DIAGNOSTICMESSAGE has a value

Message

The human-readable text to include in the bounce message.

Accessible with the following methods

Method Description
GET_MESSAGE() Getter for MESSAGE, with configurable default
ASK_MESSAGE() Getter for MESSAGE w/ exceptions if field has no value
HAS_MESSAGE() Determine if MESSAGE has a value