Composes an email message and immediately queues it for sending. In order to send
email using the SendEmail operation, your message must meet the following
requirements:
Indicates that the message could not be sent because Amazon SES could not read the MX
record required to use the specified MAIL FROM domain. For information about editing the
custom MAIL FROM domain settings for an identity, see the Amazon SES Developer
Guide.
Composes an email message and immediately queues it for sending. In order to send email using the
SendEmail
operation, your message must meet the following requirements:Example
Use a bare-bones client and the command you need to make an API call.
Param
SendEmailCommandInput
Returns
SendEmailCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccountSendingPausedException (client fault)
Indicates that email sending is disabled for your entire Amazon SES account.
You can enable or disable email sending for your Amazon SES account using UpdateAccountSendingEnabled.
Throws
ConfigurationSetDoesNotExistException (client fault)
Indicates that the configuration set does not exist.
Throws
ConfigurationSetSendingPausedException (client fault)
Indicates that email sending is disabled for the configuration set.
You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled.
Throws
MailFromDomainNotVerifiedException (client fault)
Indicates that the message could not be sent because Amazon SES could not read the MX record required to use the specified MAIL FROM domain. For information about editing the custom MAIL FROM domain settings for an identity, see the Amazon SES Developer Guide.
Throws
MessageRejected (client fault)
Indicates that the action failed, and the message could not be sent. Check the error stack for more information about what caused the error.
Example
SendEmail