BounceAction class

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.

Constructors

BounceAction({required String message, required String sender, required String smtpReplyCode, String? statusCode, String? topicArn})
BounceAction.fromXml(XmlElement elem)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
Human-readable text to include in the bounce message.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sender String
The email address of the sender of the bounced email. This is the address from which the bounce message will be sent.
final
smtpReplyCode String
The SMTP reply code, as defined by RFC 5321.
final
statusCode String?
The SMTP enhanced status code, as defined by RFC 3463.
final
topicArn String?
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited