Module Values.SendBulkTemplatedEmailResponseSource

Composes 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: The call must refer to an existing email template. You can create email templates using CreateTemplate. The message must be sent from a verified email address or domain. If your account is still in the Amazon SES sandbox, you may send only to verified addresses or domains, or to email addresses associated with the Amazon SES Mailbox Simulator. For more information, see Verifying Email Addresses and Domains in the Amazon SES Developer Guide. The maximum message size is 10 MB. Each 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. The message may not include more than 50 recipients, across the To:, CC: and BCC: fields. 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 the SendBulkTemplatedEmail operation several times to send the message to each group. The number of destinations you can contact in a single call can be limited by your account's maximum sending rate.

Sourcetype sendBulkTemplatedEmailResult = {
  1. status : BulkEmailDestinationStatusList.t option;
    (*

    One object per intended recipient. Check each response object and retry any messages with a failure status. (Note that order of responses will be respective to order of destinations in the request.)Receipt rules enable you to specify which actions

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. sendBulkTemplatedEmailResult : sendBulkTemplatedEmailResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `AccountSendingPausedException of AccountSendingPausedException.t
  2. | `ConfigurationSetDoesNotExistException of ConfigurationSetDoesNotExistException.t
  3. | `ConfigurationSetSendingPausedException of ConfigurationSetSendingPausedException.t
  4. | `MailFromDomainNotVerifiedException of MailFromDomainNotVerifiedException.t
  5. | `MessageRejected of MessageRejected.t
  6. | `TemplateDoesNotExistException of TemplateDoesNotExistException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?status:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccountSendingPausedException of unit | `ConfigurationSetDoesNotExistException of ConfigurationSetDoesNotExistException.t | `ConfigurationSetSendingPausedException of ConfigurationSetSendingPausedException.t | `MailFromDomainNotVerifiedException of unit | `MessageRejected of unit | `TemplateDoesNotExistException of TemplateDoesNotExistException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccountSendingPausedException of unit | `ConfigurationSetDoesNotExistException of ConfigurationSetDoesNotExistException.t | `ConfigurationSetSendingPausedException of ConfigurationSetSendingPausedException.t | `MailFromDomainNotVerifiedException of unit | `MessageRejected of unit | `TemplateDoesNotExistException of TemplateDoesNotExistException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of Error.t ]) list ] list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t