Function Hook_cron_mail_queue->fail_to_file
Definitions
sources/hooks/systems/cron/mail_queue.php
- Mark an e-mail as failed, dump the message to a file, and erase from the database (in case of potential out-of-memory errors in mail queue screen).
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $row | array | No | No | required parameter | N/A | N/A | The database row of the queued mail that failed |
Preview
Code (PHP)
/**
* Mark an e-mail as failed, dump the message to a file, and erase from the database (in case of potential out-of-memory errors in mail queue screen).
*
* @param array $row The database row of the queued mail that failed
*/
protected function fail_to_file(array $row)
* Mark an e-mail as failed, dump the message to a file, and erase from the database (in case of potential out-of-memory errors in mail queue screen).
*
* @param array $row The database row of the queued mail that failed
*/
protected function fail_to_file(array $row)

