SendRawEmailRequest Class

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

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.

Inheritance Hierarchy

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

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

Syntax

C#
public class SendRawEmailRequest : AmazonWebServiceRequest
         IRequestEvents

The SendRawEmailRequest type exposes the following members

Constructors

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

Properties

  Name Description
Public Property Destinations A list of destinations for the message.
Public Property RawMessage The raw text of the message. The client is responsible for ensuring the following:
  • Message must contain a header and a body, separated by a blank line.
  • All required header fields must be present.
  • Each part of a multipart MIME message must be formatted properly.
  • MIME content types must be among those supported by Amazon SES. Refer to the Amazon SES Developer Guide for more details.
  • Content must be base64-encoded, if MIME requires it.
Public Property Source The identity's email address. If you specify the Source parameter, then bounce notifications and complaints will be sent to this email address. This takes precedence over any Return-Path header that you might include in the raw text of the message.

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