AWSSESBounceAction
Objective-C
@interface AWSSESBounceAction
Swift
class AWSSESBounceAction
When included in a receipt rule, this action rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
For information about sending a bounce message in response to a received email, see the Amazon SES Developer Guide.
Required parameters: [SmtpReplyCode, Message, Sender]
-
Human-readable text to include in the bounce message.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable message;
Swift
var message: String? { get set }
-
The email address of the sender of the bounced email. This is the address from which the bounce message is sent.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable sender;
Swift
var sender: String? { get set }
-
The SMTP reply code, as defined by RFC 5321.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable smtpReplyCode;
Swift
var smtpReplyCode: String? { get set }
-
The SMTP enhanced status code, as defined by RFC 3463.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable statusCode;
Swift
var statusCode: String? { get set }
-
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. You can find the ARN of a topic by using the ListTopics operation in Amazon SNS.
For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable topicArn;
Swift
var topicArn: String? { get set }