You are here

function mandrill_test_mandrill_mail_alter in Mandrill 7.2

Implements hook_mandrill_mail_alter().

File

modules/mandrill_test/mandrill_test.module, line 11
Used to test Mandrill API hooks.

Code

function mandrill_test_mandrill_mail_alter(&$mandrill_params, $message) {
  $mandrill_params['message']['subject'] = 'Altered Test Subject';
  $mandrill_params['message']['html'] = '<p>Altered mail content</p>';
}