Sends an email message, with header and content specified by the client. The
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.
Namespace: Amazon.SimpleEmail
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public virtual SendRawEmailResponse SendRawEmail( SendRawEmailRequest sendRawEmailRequest )
Parameters
- sendRawEmailRequest
-
Type: Amazon.SimpleEmail.Model.SendRawEmailRequest
Container for the necessary parameters to execute the SendRawEmail service method on AmazonSimpleEmailService.
Type: Amazon.SimpleEmail.Model.SendRawEmailResponse
The response from the SendRawEmail service method, as returned by AmazonSimpleEmailService.
Exceptions
Exception | Condition |
---|---|
Amazon.SimpleEmail.Model.MessageRejectedException |
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5