|« PreviousNext »|
|Did this page help you? Yes | No | Tell us about it...|
Sends an email message, with header and content specified by the client. The
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.
For information about the common parameters that all actions use, see Common Parameters.
A list of destinations for the message.
Type: String list
The raw text of the message. The client is responsible for ensuring the following:
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:
For more information, see RFC 2047.
If you specify the
parameter, then bounce notifications and
complaints will be sent to this email address. This takes precedence over any
header that you might include in the raw text of the message.
returned in a
The unique message identifier returned from the
For information about the errors that are common to all actions, see Common Errors.
Indicates that the action failed, and the message could not be sent. Check the error stack for more information about what caused the error.
HTTP Status Code: 400
POST / HTTP/1.1 Date: Wed, 17 Aug 2011 00:21:38 GMT Host: email.us-east-1.amazonaws.com Content-Type: application/x-www-form-urlencoded X-Amzn-Authorization: AWS3 AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE, Signature=uN0lHIf14tmMBzwnkHzaWBLrBFvJAvyXCsfSYAvwLuc=, Algorithm=HmacSHA256, SignedHeaders=Date;Host Content-Length: 230 AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE &Action=SendRawEmail &RawMessage.Data=U3ViamVjdDogRXhhbXBsZQpGcm9tOiBleGFtcGxlQGFtYXpvbi5jb20KVG8 6IGV4YW1wbGVAYW1h%0Aem9uLmNvbQpDb250ZW50LVR5cGU6IG11bHRpcGFydC9hbHRlcm5hdGl2 ZTsgYm91bmRhcnk9MDAx%0ANmU2OGY5ZDkyOWNiMDk2MDRhYWE4MzA0MgoKLS0wMDE2ZTY4ZjlkO TI5Y2IwOTYwNGFhYTgzMDQy%0ACkNvbnRlbnQtVHlwZTogdGV4dC9wbGFpbjsgY2hhcnNldD1JU0 8tODg1OS0xCgpCb2R5LgoKLS0w%0AMDE2ZTY4ZjlkOTI5Y2IwOTYwNGFhYTgzMDQyCkNvbnRlbnQ tVHlwZTogdGV4dC9odG1sOyBjaGFy%0Ac2V0PUlTTy04ODU5LTEKCkJvZHkuPGJyPgoKLS0wMDE2 ZTY4ZjlkOTI5Y2IwOTYwNGFhYTgzMDQy%0ALS0%3D%0A &Timestamp=2011-08-17T00%3A21%3A38.000Z
<SendRawEmailResponse xmlns="http://ses.amazonaws.com/doc/2010-12-01/"> <SendRawEmailResult> <MessageId>00000131d51d6b36-1d4f9293-0aee-4503-b573-9ae4e70e9e38-000000</MessageId> </SendRawEmailResult> <ResponseMetadata> <RequestId>e0abcdfa-c866-11e0-b6d0-273d09173b49</RequestId> </ResponseMetadata> </SendRawEmailResponse>