Given a SimpleEmailServiceMessage object, submits the message to the service for sending.
public sendEmail ( SimpleEmailServiceMessage $sesMessage, boolean $use_raw_request = false, boolean $trigger_error = null ) : array | ||
$sesMessage | SimpleEmailServiceMessage | An instance of the message class |
$use_raw_request | boolean | If this is true or there are attachments to the email `SendRawEmail` call will be used |
$trigger_error | boolean | Optionally overwrite the class setting for triggering an error (with type check to true/false) |
Результат | array | An array containing the unique identifier for this message and a separate request id. Returns false if the provided message is missing any required fields. @link(AWS SES Response formats, http://docs.aws.amazon.com/ses/latest/DeveloperGuide/query-interface-responses.html) |