AWS SDK Version 2 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.

.NET Framework 4.5
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.dll
Version: (assembly version)


public class BounceAction : Object

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 Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8