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
 
Verifies an email address. This action causes a confirmation email message to be sent to the specified address. The VerifyEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The VerifyEmailIdentity action is now preferred.

This action is throttled at one request per second.

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

Syntax

C#
public virtual VerifyEmailAddressResponse VerifyEmailAddress(
         VerifyEmailAddressRequest request
)

Parameters

request
Type: Amazon.SimpleEmail.Model.VerifyEmailAddressRequest

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

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

Examples

This example shows how to verify an email address.

Verify email address example

var sesClient = new AmazonSimpleEmailServiceClient();

var request = new VerifyEmailAddressRequest
{
  EmailAddress = "johndoe@example.com"
};

sesClient.VerifyEmailAddress(request); 
      

Version Information

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