smtp_tests.module in SMTP Authentication Support 7.2
Same filename and directory in other branches
Primary hook implementations for the SMTP test helper module.
File
tests/smtp_tests.moduleView source
<?php
/**
* @file
* Primary hook implementations for the SMTP test helper module.
*/
/**
* Implements hook_mail().
*/
function smtp_tests_mail($key, &$message, $params) {
// A very rudimentary test.
if ($key == 'smtp_basic_test') {
$message['subject'] = t('Test email subject');
$message['body'][] = t('Test email body.');
}
}
Functions
Name | Description |
---|---|
smtp_tests_mail | Implements hook_mail(). |