AmazonSimpleEmailServiceClient Class

.NET Framework 3.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Implementation for accessing AmazonSimpleEmailService. Amazon Simple Email Service

This is the API Reference for Amazon Simple Email Service (Amazon SES). This documentation is intended to be used in conjunction with the Amazon SES Developer Guide.

For specific details on how to construct a service request, please consult the Amazon SES Developer Guide.

NOTE:The endpoint for Amazon SES is located at: https://email.us-east-1.amazonaws.com

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AbstractWebServiceClient
    Amazon.Runtime.AmazonWebServiceClient
      Amazon.SimpleEmail.AmazonSimpleEmailServiceClient

Namespace: Amazon.SimpleEmail
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class AmazonSimpleEmailServiceClient : AmazonWebServiceClient
         IAmazonSimpleEmailService, IDisposable

The AmazonSimpleEmailServiceClient type exposes the following members

Constructors

  Name Description
Public Method AmazonSimpleEmailServiceClient() Constructs AmazonSimpleEmailServiceClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSAccessKey" value="********************"/>
        <add key="AWSSecretKey" value="****************************************"/>
    </appSettings>
</configuration>
             
Public Method AmazonSimpleEmailServiceClient(RegionEndpoint) Constructs AmazonSimpleEmailServiceClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSAccessKey" value="********************"/>
        <add key="AWSSecretKey" value="****************************************"/>
    </appSettings>
</configuration>
             
Public Method AmazonSimpleEmailServiceClient(AmazonSimpleEmailServiceConfig) Constructs AmazonSimpleEmailServiceClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSAccessKey" value="********************"/>
        <add key="AWSSecretKey" value="****************************************"/>
    </appSettings>
</configuration>
             
Public Method AmazonSimpleEmailServiceClient(AWSCredentials) Constructs AmazonSimpleEmailServiceClient with AWS Credentials
Public Method AmazonSimpleEmailServiceClient(AWSCredentials, RegionEndpoint) Constructs AmazonSimpleEmailServiceClient with AWS Credentials
Public Method AmazonSimpleEmailServiceClient(AWSCredentials, AmazonSimpleEmailServiceConfig) Constructs AmazonSimpleEmailServiceClient with AWS Credentials and an AmazonSimpleEmailServiceClient Configuration object.
Public Method AmazonSimpleEmailServiceClient(string, string) Constructs AmazonSimpleEmailServiceClient with AWS Access Key ID and AWS Secret Key
Public Method AmazonSimpleEmailServiceClient(string, string, RegionEndpoint) Constructs AmazonSimpleEmailServiceClient with AWS Access Key ID and AWS Secret Key
Public Method AmazonSimpleEmailServiceClient(string, string, AmazonSimpleEmailServiceConfig) Constructs AmazonSimpleEmailServiceClient with AWS Access Key ID, AWS Secret Key and an AmazonSimpleEmailServiceClient Configuration object.
Public Method AmazonSimpleEmailServiceClient(string, string, string) Constructs AmazonSimpleEmailServiceClient with AWS Access Key ID and AWS Secret Key
Public Method AmazonSimpleEmailServiceClient(string, string, string, RegionEndpoint) Constructs AmazonSimpleEmailServiceClient with AWS Access Key ID and AWS Secret Key
Public Method AmazonSimpleEmailServiceClient(string, string, string, AmazonSimpleEmailServiceConfig) Constructs AmazonSimpleEmailServiceClient with AWS Access Key ID, AWS Secret Key and an AmazonSimpleEmailServiceClient Configuration object.

Methods

  Name Description
Public Method BeginDeleteIdentity(DeleteIdentityRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteIdentity operation.
Public Method BeginDeleteVerifiedEmailAddress(DeleteVerifiedEmailAddressRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteVerifiedEmailAddress operation.
Public Method BeginGetIdentityDkimAttributes(GetIdentityDkimAttributesRequest, AsyncCallback, object) Initiates the asynchronous execution of the GetIdentityDkimAttributes operation.
Public Method BeginGetIdentityNotificationAttributes(GetIdentityNotificationAttributesRequest, AsyncCallback, object) Initiates the asynchronous execution of the GetIdentityNotificationAttributes operation.
Public Method BeginGetIdentityVerificationAttributes(GetIdentityVerificationAttributesRequest, AsyncCallback, object) Initiates the asynchronous execution of the GetIdentityVerificationAttributes operation.
Public Method BeginGetSendQuota(GetSendQuotaRequest, AsyncCallback, object) Initiates the asynchronous execution of the GetSendQuota operation.
Public Method BeginGetSendStatistics(GetSendStatisticsRequest, AsyncCallback, object) Initiates the asynchronous execution of the GetSendStatistics operation.
Public Method BeginListIdentities(ListIdentitiesRequest, AsyncCallback, object) Initiates the asynchronous execution of the ListIdentities operation.
Public Method BeginListVerifiedEmailAddresses(ListVerifiedEmailAddressesRequest, AsyncCallback, object) Initiates the asynchronous execution of the ListVerifiedEmailAddresses operation.
Public Method BeginSendEmail(SendEmailRequest, AsyncCallback, object) Initiates the asynchronous execution of the SendEmail operation.
Public Method BeginSendRawEmail(SendRawEmailRequest, AsyncCallback, object) Initiates the asynchronous execution of the SendRawEmail operation.
Public Method BeginSetIdentityDkimEnabled(SetIdentityDkimEnabledRequest, AsyncCallback, object) Initiates the asynchronous execution of the SetIdentityDkimEnabled operation.
Public Method BeginSetIdentityFeedbackForwardingEnabled(SetIdentityFeedbackForwardingEnabledRequest, AsyncCallback, object) Initiates the asynchronous execution of the SetIdentityFeedbackForwardingEnabled operation.
Public Method BeginSetIdentityNotificationTopic(SetIdentityNotificationTopicRequest, AsyncCallback, object) Initiates the asynchronous execution of the SetIdentityNotificationTopic operation.
Public Method BeginVerifyDomainDkim(VerifyDomainDkimRequest, AsyncCallback, object) Initiates the asynchronous execution of the VerifyDomainDkim operation.
Public Method BeginVerifyDomainIdentity(VerifyDomainIdentityRequest, AsyncCallback, object) Initiates the asynchronous execution of the VerifyDomainIdentity operation.
Public Method BeginVerifyEmailAddress(VerifyEmailAddressRequest, AsyncCallback, object) Initiates the asynchronous execution of the VerifyEmailAddress operation.
Public Method BeginVerifyEmailIdentity(VerifyEmailIdentityRequest, AsyncCallback, object) Initiates the asynchronous execution of the VerifyEmailIdentity operation.
Public Method DeleteIdentity(DeleteIdentityRequest)

Deletes the specified identity (email address or domain) from the list of verified identities.

This action is throttled at one request per second.

Public Method DeleteVerifiedEmailAddress(DeleteVerifiedEmailAddressRequest)

Deletes the specified email address from the list of verified addresses.

IMPORTANT:The DeleteVerifiedEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The DeleteIdentity action is now preferred.

This action is throttled at one request per second.

Public Method Dispose() Disposes of all managed and unmanaged resources.
Public Method EndDeleteIdentity(IAsyncResult) Finishes the asynchronous execution of the DeleteIdentity operation.
Public Method EndDeleteVerifiedEmailAddress(IAsyncResult) Finishes the asynchronous execution of the DeleteVerifiedEmailAddress operation.
Public Method EndGetIdentityDkimAttributes(IAsyncResult) Finishes the asynchronous execution of the GetIdentityDkimAttributes operation.
Public Method EndGetIdentityNotificationAttributes(IAsyncResult) Finishes the asynchronous execution of the GetIdentityNotificationAttributes operation.
Public Method EndGetIdentityVerificationAttributes(IAsyncResult) Finishes the asynchronous execution of the GetIdentityVerificationAttributes operation.
Public Method EndGetSendQuota(IAsyncResult) Finishes the asynchronous execution of the GetSendQuota operation.
Public Method EndGetSendStatistics(IAsyncResult) Finishes the asynchronous execution of the GetSendStatistics operation.
Public Method EndListIdentities(IAsyncResult) Finishes the asynchronous execution of the ListIdentities operation.
Public Method EndListVerifiedEmailAddresses(IAsyncResult) Finishes the asynchronous execution of the ListVerifiedEmailAddresses operation.
Public Method EndSendEmail(IAsyncResult) Finishes the asynchronous execution of the SendEmail operation.
Public Method EndSendRawEmail(IAsyncResult) Finishes the asynchronous execution of the SendRawEmail operation.
Public Method EndSetIdentityDkimEnabled(IAsyncResult) Finishes the asynchronous execution of the SetIdentityDkimEnabled operation.
Public Method EndSetIdentityFeedbackForwardingEnabled(IAsyncResult) Finishes the asynchronous execution of the SetIdentityFeedbackForwardingEnabled operation.
Public Method EndSetIdentityNotificationTopic(IAsyncResult) Finishes the asynchronous execution of the SetIdentityNotificationTopic operation.
Public Method EndVerifyDomainDkim(IAsyncResult) Finishes the asynchronous execution of the VerifyDomainDkim operation.
Public Method EndVerifyDomainIdentity(IAsyncResult) Finishes the asynchronous execution of the VerifyDomainIdentity operation.
Public Method EndVerifyEmailAddress(IAsyncResult) Finishes the asynchronous execution of the VerifyEmailAddress operation.
Public Method EndVerifyEmailIdentity(IAsyncResult) Finishes the asynchronous execution of the VerifyEmailIdentity operation.
Public Method GetIdentityDkimAttributes(GetIdentityDkimAttributesRequest)

Returns the current status of Easy DKIM signing for an entity. For domain name identities, this action also returns the DKIM tokens that are required for Easy DKIM signing, and whether Amazon SES has successfully verified that these tokens have been published.

This action takes a list of identities as input and returns the following information for each:

  • Whether Easy DKIM signing is enabled or disabled.
  • A set of DKIM tokens that represent the identity. If the identity is an email address, the tokens represent the domain of that address.
  • Whether Amazon SES has successfully verified the DKIM tokens published in the domain's DNS. This information is only returned for domain name identities, not for email addresses.

This action is throttled at one request per second.

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

Public Method GetIdentityNotificationAttributes(GetIdentityNotificationAttributesRequest)

Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes.

This action is throttled at one request per second.

For more information about feedback notification, see the Amazon SES Developer Guide.

Public Method GetIdentityVerificationAttributes(GetIdentityVerificationAttributesRequest)

Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.

This action is throttled at one request per second.

Public Method GetSendQuota(GetSendQuotaRequest)

Returns the user's current sending limits.

This action is throttled at one request per second.

Public Method GetSendQuota()

Returns the user's current sending limits.

This action is throttled at one request per second.

Public Method GetSendStatistics(GetSendStatisticsRequest)

Returns the user's sending statistics. The result is a list of data points, representing the last two weeks of sending activity.

Each data point in the list contains statistics for a 15-minute interval.

This action is throttled at one request per second.

Public Method GetSendStatistics()

Returns the user's sending statistics. The result is a list of data points, representing the last two weeks of sending activity.

Each data point in the list contains statistics for a 15-minute interval.

This action is throttled at one request per second.

Public Method ListIdentities(ListIdentitiesRequest)

Returns a list containing all of the identities (email addresses and domains) for a specific AWS Account, regardless of verification status.

This action is throttled at one request per second.

Public Method ListIdentities()

Returns a list containing all of the identities (email addresses and domains) for a specific AWS Account, regardless of verification status.

This action is throttled at one request per second.

Public Method ListVerifiedEmailAddresses(ListVerifiedEmailAddressesRequest)

Returns a list containing all of the email addresses that have been verified.

IMPORTANT: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.

Public Method ListVerifiedEmailAddresses()

Returns a list containing all of the email addresses that have been verified.

IMPORTANT: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.

Public Method SendEmail(SendEmailRequest)

Composes an email message based on input data, and then immediately queues the message for sending.

IMPORTANT: You can only send email from verified email addresses and domains. If you have not requested production access to Amazon SES, you must also verify every recipient email address except for the recipients provided by the Amazon SES mailbox simulator. For more information, go to the Amazon SES Developer Guide.

The total size of the message cannot exceed 10 MB.

Amazon SES has a limit on the total number of recipients per message: The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group.

For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the Amazon SES Developer Guide.

Public Method SendRawEmail(SendRawEmailRequest)

Sends an email message, with header and content specified by the client. The SendRawEmail action is useful for sending multipart MIME emails. The raw text of the message must comply with Internet email standards; otherwise, the message cannot be sent.

IMPORTANT: You can only send email from verified email addresses and domains. If you have not requested production access to Amazon SES, you must also verify every recipient email address except for the recipients provided by the Amazon SES mailbox simulator. For more information, go to the Amazon SES Developer Guide.

The total size of the message cannot exceed 10 MB. This includes any attachments that are part of the message.

Amazon SES has a limit on the total number of recipients per message: The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group.

For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the Amazon SES Developer Guide.

Public Method SetIdentityDkimEnabled(SetIdentityDkimEnabledRequest)

Enables or disables Easy DKIM signing of email sent from an identity:

  • If Easy DKIM signing is enabled for a domain name identity (e.g., example.com ), then Amazon SES will DKIM-sign all email sent by addresses under that domain name (e.g., user@example.com ).
  • If Easy DKIM signing is enabled for an email address, then Amazon SES will DKIM-sign all email sent by that email address.

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.

Public Method SetIdentityFeedbackForwardingEnabled(SetIdentityFeedbackForwardingEnabledRequest)

Given an identity (email address or domain), enables or disables whether Amazon SES forwards feedback notifications as email. Feedback forwarding may only be disabled when both complaint and bounce topics are set.

This action is throttled at one request per second.

For more information about feedback notification, see the Amazon SES Developer Guide.

Public Method SetIdentityNotificationTopic(SetIdentityNotificationTopicRequest)

Given an identity (email address or domain), sets the Amazon SNS topic to which Amazon SES will publish bounce and complaint notifications for emails sent with that identity as the Source . Publishing to topics may only be disabled when feedback forwarding is enabled.

This action is throttled at one request per second.

For more information about feedback notification, see the Amazon SES Developer Guide.

Public Method VerifyDomainDkim(VerifyDomainDkimRequest)

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.

Public Method VerifyDomainIdentity(VerifyDomainIdentityRequest)

Verifies a domain.

This action is throttled at one request per second.

Public Method VerifyEmailAddress(VerifyEmailAddressRequest)

Verifies an email address. This action causes a confirmation email message to be sent to the specified address.

IMPORTANT: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.

Public Method VerifyEmailIdentity(VerifyEmailIdentityRequest)

Verifies an email address. This action causes a confirmation email message to be sent to the specified address.

This action is throttled at one request per second.

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8