You are here

function mandrill_queue_worker_mailsend in Mandrill 7

Same name and namespace in other branches
  1. 7.2 mandrill.module \mandrill_queue_worker_mailsend()

Sends a queued email.

See also

mandrill_cron_queue_info()

1 string reference to 'mandrill_queue_worker_mailsend'
mandrill_cron_queue_info in ./mandrill.module
Implements hook_cron_queue_info().

File

./mandrill.module, line 101
Enables Drupal to send email directly through Mandrill.

Code

function mandrill_queue_worker_mailsend($data) {

  // Send the message stored in the queue item.
  mandrill_mailsend($data['message'], $data['function'], $data['args']);
}