You are here

function Mandrill::messages_search in Mandrill 6

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

Return value

array|Mandrill_Exception

File

./mandrill.class.php, line 336

Class

Mandrill

Code

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'));
}