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 3.5
 
Returns a set of DKIM tokens for a domain. DKIM tokens are character strings that represent your domain's identity. Using these tokens, you will need to create DNS CNAME records that point to DKIM public keys hosted by Amazon SES. Amazon Web Services will eventually detect that you have updated your DNS records; this detection process may take up to 72 hours. Upon successful detection, Amazon SES will be able to DKIM-sign email originating from that domain.

This action is throttled at one request per second.

To enable or disable Easy DKIM signing for a domain, use the SetIdentityDkimEnabled action.

For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide.

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

Syntax

C#
public abstract VerifyDomainDkimResponse VerifyDomainDkim(
         VerifyDomainDkimRequest request
)

Parameters

request
Type: Amazon.SimpleEmail.Model.VerifyDomainDkimRequest

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

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

Examples

This example shows how to get a set of DKIM tokens for a domain.

Get domain DKIM tokens example

var sesClient = new AmazonSimpleEmailServiceClient();

var request = new VerifyDomainDkimRequest
{       
  Domain = "example.com"
};

var response = sesClient.VerifyDomainDkim(request);

Console.WriteLine("DKIM tokens:");

foreach (var token in response.DkimTokens)
{
  Console.WriteLine("  " + token);
}
      

Version Information

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