You are here

public function DrupalMandrill::messages_send_template in Mandrill 7

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

Return value

array|MandrillException

File

lib/mandrill.inc, line 410
Wrapper class around the Mandrill API.

Class

DrupalMandrill
Class DrupalMandrill.

Code

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