You are here

public function DrupalMandrill::messages_search in Mandrill 7

@link https://mandrillapp.com/api/docs/messages.html#method=search

Return value

array|MandrillException

File

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

Class

DrupalMandrill
Class DrupalMandrill.

Code

public function messages_search($query, $date_from = '', $date_to = '', $tags = array(), $senders = array(), $limit = 100) {
  return $this
    ->request('messages/search', compact('query', 'date_from', 'date_to', 'tags', 'senders', 'limit'));
}