Smaws_Client_SES.SendBulkTemplatedEmailComposes an email message to multiple destinations. The message body is created using an email template.
To send email using this operation, your call must meet the following requirements:
CreateTemplate.Destination parameter must include at least one recipient email address. The recipient address can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is not in the format UserName@[SubDomain.]Domain.TopLevelDomain), the entire message is rejected, even if the message contains other recipients that are valid.SendBulkTemplatedEmail operation several times to send the message to each group.val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `AccountSendingPausedException of Types.account_sending_paused_exception
| `ConfigurationSetDoesNotExistException of
Types.configuration_set_does_not_exist_exception
| `ConfigurationSetSendingPausedException of
Types.configuration_set_sending_paused_exception
| `MailFromDomainNotVerifiedException of
Types.mail_from_domain_not_verified_exception
| `MessageRejected of Types.message_rejected
| `TemplateDoesNotExistException of Types.template_does_not_exist_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.send_bulk_templated_email_request ->
(Types.send_bulk_templated_email_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AccountSendingPausedException of Types.account_sending_paused_exception
| `ConfigurationSetDoesNotExistException of
Types.configuration_set_does_not_exist_exception
| `ConfigurationSetSendingPausedException of
Types.configuration_set_sending_paused_exception
| `MailFromDomainNotVerifiedException of
Types.mail_from_domain_not_verified_exception
| `MessageRejected of Types.message_rejected
| `TemplateDoesNotExistException of Types.template_does_not_exist_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.send_bulk_templated_email_request ->
(Types.send_bulk_templated_email_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AccountSendingPausedException of Types.account_sending_paused_exception
| `ConfigurationSetDoesNotExistException of
Types.configuration_set_does_not_exist_exception
| `ConfigurationSetSendingPausedException of
Types.configuration_set_sending_paused_exception
| `MailFromDomainNotVerifiedException of
Types.mail_from_domain_not_verified_exception
| `MessageRejected of Types.message_rejected
| `TemplateDoesNotExistException of Types.template_does_not_exist_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result