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
 
Returns a list containing all of the email addresses that have been verified. The ListVerifiedEmailAddresses action is deprecated as of the May 15, 2012 release of Domain Verification. The ListIdentities 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 ListVerifiedEmailAddressesResponse ListVerifiedEmailAddresses(
         ListVerifiedEmailAddressesRequest request
)

Parameters

request
Type: Amazon.SimpleEmail.Model.ListVerifiedEmailAddressesRequest

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

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

Examples

This example shows how to list all verified email addresses under an account.

List verified email addresses example

var sesClient = new AmazonSimpleEmailServiceClient();

var response = sesClient.ListVerifiedEmailAddresses();

if (response.VerifiedEmailAddresses.Count > 0)
{
  Console.WriteLine("Verified email addresses:");

  foreach (var address in response.VerifiedEmailAddresses)
  {
    Console.WriteLine("  " + address);
  }
}
      

Version Information

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