You are here

function mandrill_activity_get_activity in Mandrill 8

Same name and namespace in other branches
  1. 7.2 modules/mandrill_activity/mandrill_activity.module \mandrill_activity_get_activity()
  2. 7 modules/mandrill_activity/mandrill_activity.module \mandrill_activity_get_activity()

Return all activity on all lists for a given email address.

Parameters

string $email: Email to load Mandrill activity for.

Return value

array Array of activity.

Throws

\Exception

File

modules/mandrill_activity/mandrill_activity.module, line 19
Main module functions for mandrill_activity.

Code

function mandrill_activity_get_activity($email) {
  throw new \Exception('Use the getMessages() method on the API service class instead.');
}