You are here

function smtp_send_queue in SMTP Authentication Support 8

Same name and namespace in other branches
  1. 7.2 smtp.module \smtp_send_queue()
  2. 7 smtp.module \smtp_send_queue()

Smtp_send_queue queuer.

1 call to smtp_send_queue()
SMTPMailSystem::mail in src/Plugin/Mail/SMTPMailSystem.php
Send the e-mail message.

File

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

Code

function smtp_send_queue($mailerObj) {
  $queue = Drupal::queue('smtp_send_queue');
  $queue
    ->createItem($mailerObj);
}