You are here

smtp_tests.module in SMTP Authentication Support 7.2

Same filename and directory in other branches
  1. 7 tests/smtp_tests.module

Primary hook implementations for the SMTP test helper module.

File

tests/smtp_tests.module
View 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

Namesort descending Description
smtp_tests_mail Implements hook_mail().