AWS SDK for .NET Documentation
SendRawEmailRequest Class
AmazonAmazon.SimpleEmail.ModelSendRawEmailRequest 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
CopyC#
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. 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.

Declaration Syntax
C#
public class SendRawEmailRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
SendRawEmailRequest()()()()
Initializes a new instance of the SendRawEmailRequest class

Destinations
Gets and sets the property Destinations.

A list of destinations for the message.


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
RawMessage
Gets and sets the 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. For more information, go to the Amazon SES Developer Guide.
  • Content must be base64-encoded, if MIME requires it.


Source
Gets and sets the property Source.

The identity's email address.

By default, the string must be 7-bit ASCII. If the text must contain any other characters, then you must use MIME encoded-word syntax (RFC 2047) instead of a literal string. MIME encoded-word syntax uses the following form:

CopyC#
=?charset?encoding?encoded-text?=
. For more information, see RFC 2047.

Note:
If you specify the
CopyC#
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.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithDestinations(array<String>[]()[][]) Obsolete.
Sets the Destinations property

WithDestinations(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Sets the Destinations property

WithRawMessage(RawMessage) Obsolete.
Sets the RawMessage property

WithSource(String) Obsolete.
Sets the Source property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 SendRawEmailRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)