function smtp_failed_messages in SMTP Authentication Support 7
Same name and namespace in other branches
- 7.2 smtp.module \smtp_failed_messages()
Store failed messages for later.
Parameters
array $new_message:
Return value
array All messages that have been saved.
1 call to smtp_failed_messages()
File
- ./
smtp.module, line 152 - Enables Drupal to send e-mail directly to an SMTP server.
Code
function smtp_failed_messages($message) {
$queue = DrupalQueue::get('smtp_failure_queue');
$queue
->createItem($message);
}