You are here

function smtp_send_queue in SMTP Authentication Support 7

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

Function to queue a message into the Drupal system queue.

Parameters

object:

1 call to smtp_send_queue()
SmtpMailSystem::mail in ./smtp.mail.inc
Send the e-mail message.
1 string reference to 'smtp_send_queue'
smtp_failure_queue_runner in ./smtp.module
Queue runner for smtp_failure_queue.

File

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

Code

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