SendEmailRequest Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Container for the parameters to the SendEmail operation.

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.SimpleEmail.Model.SendEmailRequest

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

Syntax

C#
public class SendEmailRequest : AmazonWebServiceRequest
         IRequestEvents

The SendEmailRequest type exposes the following members

Constructors

  Name Description
Public Method SendEmailRequest() Default constructor for a new SendEmailRequest object. Callers should use the properties to initialize this object after creating it.
Public Method SendEmailRequest(string, Destination, Message) Constructs a new SendEmailRequest object. Callers should use the properties initialize any additional object members.

Properties

  Name Description
Public Property Destination The destination for this email, composed of To:, CC:, and BCC: fields.
Public Property Message The message to be sent.
Public Property ReplyToAddresses The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply.
Public Property ReturnPath The email address to which bounce notifications are to be forwarded. If the message cannot be delivered to the recipient, then an error message will be returned from the recipient's ISP; this message will then be forwarded to the email address specified by the ReturnPath parameter.
Public Property Source The identity's email address.

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