function hook_sparkpost_mailsend_error in Sparkpost email 7
Same name and namespace in other branches
- 7.2 sparkpost.api.php \hook_sparkpost_mailsend_error()
Act on a message that failed to send through Sparkpost.
Parameters
SparkpostMessageWrapperInterface $message_wrapper: A SparkpostMessageWrapper object.
See also
SparkpostMessageWrapperInterface
2 functions implement hook_sparkpost_mailsend_error()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- sparkpost_requeue_sparkpost_mailsend_error in modules/
sparkpost_requeue/ sparkpost_requeue.module - Implements hook_sparkpost_message_failed().
- sparkpost_sparkpost_mailsend_error in ./
sparkpost.module - Implements hook_sparkpost_mailsend_error().
1 invocation of hook_sparkpost_mailsend_error()
- sparkpost_mailsend in ./
sparkpost.module - Sand mail using Guzzle and Sparkpost.
File
- ./
sparkpost.api.php, line 56 - Hooks provided by the sparkpost module.
Code
function hook_sparkpost_mailsend_error(SparkpostMessageWrapperInterface $message_wrapper) {
// Do something with the result.
}