示例#1
0
 /**
  * Return the senders that have tried to use this account, both verified and unverified
  * @return array
  */
 public function senders()
 {
     $command = $this->client->getCommand('users-senders', []);
     return $command->execute();
 }
示例#2
0
 /**
  * Send a new transactional message through Mandrill using a template
  * @param string $templateName
  * @param array $templateContent
  * @param \Mandrill\Message $message
  * @param bool $async
  * @return array
  */
 public function sendTemplate($templateName, array $templateContent, Message $message, $async = FALSE)
 {
     $command = $this->client->getCommand('messages-send', ['message' => $message->toArray(), 'async' => $async]);
     return $command->execute();
 }