Skip to content

/AWS1/CL_SES=>SENDBOUNCE()

About SendBounce

Generates and sends a bounce message to the sender of an email you received through Amazon SES. You can only use this operation on an email up to 24 hours after you receive it.

You cannot use this operation to send generic bounces for mail that was not received by Amazon SES.

For information about receiving email through Amazon SES, see the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

Method Signature

IMPORTING

Required arguments:

IV_ORIGINALMESSAGEID TYPE /AWS1/SESMESSAGEID /AWS1/SESMESSAGEID

The message ID of the message to be bounced.

IV_BOUNCESENDER TYPE /AWS1/SESADDRESS /AWS1/SESADDRESS

The address to use in the "From" header of the bounce message. This must be an identity that you have verified with Amazon SES.

IT_BOUNCEDRECIPIENTINFOLIST TYPE /AWS1/CL_SESBOUNCEDRECIPIENT00=>TT_BOUNCEDRECIPIENTINFOLIST TT_BOUNCEDRECIPIENTINFOLIST

A list of recipients of the bounced message, including the information required to create the Delivery Status Notifications (DSNs) for the recipients. You must specify at least one BouncedRecipientInfo in the list.

Optional arguments:

IV_EXPLANATION TYPE /AWS1/SESEXPLANATION /AWS1/SESEXPLANATION

Human-readable text for the bounce message to explain the failure. If not specified, the text is auto-generated based on the bounced recipient information.

IO_MESSAGEDSN TYPE REF TO /AWS1/CL_SESMESSAGEDSN /AWS1/CL_SESMESSAGEDSN

Message-related DSN fields. If not specified, Amazon SES chooses the values.

IV_BOUNCESENDERARN TYPE /AWS1/SESAMAZONRESOURCENAME /AWS1/SESAMAZONRESOURCENAME

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the address in the "From" header of the bounce. For more information about sending authorization, see the Amazon SES Developer Guide.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SESSENDBOUNCERESPONSE /AWS1/CL_SESSENDBOUNCERESPONSE