You are here

function simple_mail_send_queued_email in Simple Mail 7

Callback for sending queued emails via cron.

1 string reference to 'simple_mail_send_queued_email'
simple_mail_cron_queue_info in ./simple_mail.module
Implements hook_cron_queue_info().

File

./simple_mail.module, line 74
Simple Mail module.

Code

function simple_mail_send_queued_email($message) {

  // Send the email.
  simple_mail_send($message['from'], $message['to'], $message['subject'], $message['body']);
}