You are here

function smtp_cron_queue_info in SMTP Authentication Support 7

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

Implements hook_cron_queue_info().

File

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

Code

function smtp_cron_queue_info() {
  $queues['smtp_send_queue'] = array(
    'worker callback' => 'smtp_send_queue_runner',
    'time' => 60,
  );
  $queues['smtp_failure_queue'] = array(
    'worker callback' => 'smtp_failure_queue_runner',
    'time' => 30,
  );
  return $queues;
}