You are here

function smtp_failure_queue_runner in SMTP Authentication Support 7

Same name and namespace in other branches
  1. 7.2 smtp.module \smtp_failure_queue_runner()

Queue runner for smtp_failure_queue.

Parameters

$message: A drupal_mail-formatted message.

1 string reference to 'smtp_failure_queue_runner'
smtp_cron_queue_info in ./smtp.module
Implements hook_cron_queue_info().

File

./smtp.module, line 163
Enables Drupal to send e-mail directly to an SMTP server.

Code

function smtp_failure_queue_runner($message) {
  $queue = DrupalQueue::get('smtp_send_queue');
  $queue
    ->createItem($message);
}