function mandrill_activity_get_activity in Mandrill 7
Same name and namespace in other branches
- 8 modules/mandrill_activity/mandrill_activity.module \mandrill_activity_get_activity()
- 7.2 modules/mandrill_activity/mandrill_activity.module \mandrill_activity_get_activity()
Return all activity on all lists for a given email address.
@string $email Email to load Mandrill activity for.
Return value
array Array of activity.
1 call to mandrill_activity_get_activity()
- mandrill_activity_page in modules/
mandrill_activity/ mandrill_activity.module - Content for the Mandrill log tab on entity instance pages.
File
- modules/
mandrill_activity/ mandrill_activity.module, line 178 - Main module functions for mandrill_activity.
Code
function mandrill_activity_get_activity($email) {
$mandrill = mandrill_get_api_object();
return $mandrill
->messages_search("email:{$email}");
}