function _queue_mail_get_queue in Queue Mail 7
Same name and namespace in other branches
- 8 queue_mail.module \_queue_mail_get_queue()
Get an instance of the mail queue.
2 calls to _queue_mail_get_queue()
- drush_queue_mail_send_all in ./
queue_mail.drush.inc - Drush command to dequeue and send all emails.
- QueueMailTestCase::sendEmailAndTest in ./
queue_mail.test - Send an email and ensure it is queued or sent immediately.
File
- ./
queue_mail.module, line 16 - The Queue Mail module.
Code
function _queue_mail_get_queue() {
return DrupalQueue::get(QUEUE_MAIL_QUEUE_NAME, TRUE);
}