AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Inheritance Hierarchy


Namespace: Amazon.SimpleEmail.Model
Assembly: AWSSDK.SimpleEmail.dll
Version: 3.x.y.z


public class BounceAction

The BounceAction type exposes the following members


Public Method BounceAction()


Public Property Message System.String

Gets and sets the property Message.

Human-readable text to include in the bounce message.

Public Property Sender System.String

Gets and sets the property Sender.

The email address of the sender of the bounced email. This is the address from which the bounce message will be sent.

Public Property SmtpReplyCode System.String

Gets and sets the property SmtpReplyCode.

The SMTP reply code, as defined by RFC 5321.

Public Property StatusCode System.String

Gets and sets the property StatusCode.

The SMTP enhanced status code, as defined by RFC 3463.

Public Property TopicArn System.String

Gets and sets the property TopicArn.

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.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone