function hook_sparkpost_mailsend_success in Sparkpost email 7
Same name and namespace in other branches
- 7.2 sparkpost.api.php \hook_sparkpost_mailsend_success()
Act on a successfully sent message through Sparkpost.
Parameters
SparkpostMessageWrapperInterface $message_wrapper: A SparkpostMessageWrapper object.
See also
SparkpostMessageWrapperInterface
1 invocation of hook_sparkpost_mailsend_success()
- sparkpost_mailsend in ./
sparkpost.module - Sand mail using Guzzle and Sparkpost.
File
- ./
sparkpost.api.php, line 44 - Hooks provided by the sparkpost module.
Code
function hook_sparkpost_mailsend_success(SparkpostMessageWrapperInterface $message_wrapper) {
// Do something with the result.
}