You are here

function Mandrill::messages_send_template in Mandrill 6

@link https://mandrillapp.com/api/docs/messages.html#method=send-template

Return value

array|Mandrill_Exception

File

./mandrill.class.php, line 354

Class

Mandrill

Code

function messages_send_template($template_name, $template_content, $message) {
  return $this
    ->request('messages/send-template', compact('template_name', 'template_content', 'message'));
}