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 SetIdentityDkimEnabled operation. Enables or disables Easy DKIM signing of email sent from an identity. If Easy DKIM signing is enabled for a domain, then Amazon SES uses DKIM to sign all email that it sends from addresses on that domain. If Easy DKIM signing is enabled for an email address, then Amazon SES uses DKIM to sign all email it sends from that address.

For email addresses (for example, user@example.com), you can only enable DKIM signing if the corresponding domain (in this case, example.com) has been set up to use Easy DKIM.

You can enable DKIM signing for an identity at any time after you start the verification process for the identity, even if the verification process isn't complete.

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

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

Inheritance Hierarchy

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

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

Syntax

C#
public class SetIdentityDkimEnabledRequest : AmazonSimpleEmailServiceRequest
         IAmazonWebServiceRequest

The SetIdentityDkimEnabledRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property DkimEnabled System.Boolean

Gets and sets the property DkimEnabled.

Sets whether DKIM signing is enabled for an identity. Set to true to enable DKIM signing for this identity; false to disable it.

Public Property Identity System.String

Gets and sets the property Identity.

The identity for which DKIM signing should be enabled or disabled.

Examples

The following example configures Amazon SES to Easy DKIM-sign the email sent from an identity:

SetIdentityDkimEnabled


var client = new AmazonSimpleEmailServiceClient();
var response = client.SetIdentityDkimEnabled(new SetIdentityDkimEnabledRequest 
{
    DkimEnabled = true,
    Identity = "user@example.com"
});


            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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