AWSSESSendBounceRequest

@interface AWSSESSendBounceRequest

Represents a request to send a bounce message to the sender of an email you received through Amazon SES.

Required parameters: [OriginalMessageId, BounceSender, BouncedRecipientInfoList]

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

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable bounceSender;

    Swift

    var bounceSender: String? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable bounceSenderArn;

    Swift

    var bounceSenderArn: String? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSSESBouncedRecipientInfo *> *_Nullable bouncedRecipientInfoList;

    Swift

    var bouncedRecipientInfoList: [AWSSESBouncedRecipientInfo]? { get set }
  • Human-readable text for the bounce message to explain the failure. If not specified, the text will be auto-generated based on the bounced recipient information.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable explanation;

    Swift

    var explanation: String? { get set }
  • Message-related DSN fields. If not specified, Amazon SES will choose the values.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSSESMessageDsn *_Nullable messageDsn;

    Swift

    var messageDsn: AWSSESMessageDsn? { get set }
  • The message ID of the message to be bounced.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable originalMessageId;

    Swift

    var originalMessageId: String? { get set }