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.

Container for the parameters to the SetIdentityFeedbackForwardingEnabled operation. Given an identity (an email address or a domain), enables or disables whether Amazon SES forwards bounce and complaint notifications as email. Feedback forwarding can only be disabled when Amazon Simple Notification Service (Amazon SNS) topics are specified for both bounces and complaints.

Feedback forwarding does not apply to delivery notifications. Delivery notifications are only available through Amazon SNS.

You can execute this operation no more than once per second.

For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.SimpleEmail.AmazonSimpleEmailServiceRequest
      Amazon.SimpleEmail.Model.SetIdentityFeedbackForwardingEnabledRequest

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

Syntax

C#
public class SetIdentityFeedbackForwardingEnabledRequest : AmazonSimpleEmailServiceRequest
         IAmazonWebServiceRequest

The SetIdentityFeedbackForwardingEnabledRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ForwardingEnabled System.Boolean

Gets and sets the property ForwardingEnabled.

Sets whether Amazon SES forwards bounce and complaint notifications as email. true specifies that Amazon SES forwards bounce and complaint notifications as email, in addition to any Amazon SNS topic publishing otherwise specified. false specifies that Amazon SES publishes bounce and complaint notifications only through Amazon SNS. This value can only be set to false when Amazon SNS topics are set for both Bounce and Complaint notification types.

Public Property Identity System.String

Gets and sets the property Identity.

The identity for which to set bounce and complaint notification forwarding. Examples: user@example.com, example.com.

Examples

The following example configures Amazon SES to forward an identity's bounces and complaints via email:

SetIdentityFeedbackForwardingEnabled


var client = new AmazonSimpleEmailServiceClient();
var response = client.SetIdentityFeedbackForwardingEnabled(new SetIdentityFeedbackForwardingEnabledRequest 
{
    ForwardingEnabled = true,
    Identity = "user@example.com"
});


            

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5