You are here

function smtp_queue_info in SMTP Authentication Support 8

Implements hook_queue_info().

File

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

Code

function smtp_queue_info() {
  $queues['smtp_send_queue'] = [
    'worker callback' => 'smtp_send_queue_runner',
    'cron' => [
      'time' => 60,
    ],
  ];
  return $queues;
}