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
 
Enables or disables Easy DKIM signing of email sent from an identity:

For email addresses (e.g., user@example.com), you can only enable Easy DKIM signing if the corresponding domain (e.g., example.com) has been set up for Easy DKIM using the AWS Console or the VerifyDomainDkim action.

This action is throttled at one request per second.

For more information about Easy DKIM signing, go to the Amazon SES Developer Guide.

Namespace: Amazon.SimpleEmail
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public abstract SetIdentityDkimEnabledResponse SetIdentityDkimEnabled(
         SetIdentityDkimEnabledRequest request
)

Parameters

request
Type: Amazon.SimpleEmail.Model.SetIdentityDkimEnabledRequest

Container for the necessary parameters to execute the SetIdentityDkimEnabled service method.

Return Value
Type: Amazon.SimpleEmail.Model.SetIdentityDkimEnabledResponse
The response from the SetIdentityDkimEnabled service method, as returned by SimpleEmailService.

Examples

This example shows how to specify whether Easy DKIM signing of email sent from an identity is enabled.

Set DKIM identity example

var sesClient = new AmazonSimpleEmailServiceClient();

var request = new SetIdentityDkimEnabledRequest
{
  DkimEnabled = false,
  Identity = "johndoe@example.com"
};

sesClient.SetIdentityDkimEnabled(request);
      

Version Information

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