Commit f3df4674 authored by smk-ka's avatar smk-ka

by smk-ka: Removed bogus call to hook_mail_alter() from phpmailer_preview().

parent dbdadd7b
......@@ -2,6 +2,11 @@
PHPMailer 6.x-3.x, xxxx-xx-xx
-----------------------------
by smk-ka: Removed bogus call to hook_mail_alter() from phpmailer_preview().
PHPMailer 6.x-3.0, 2010-07-07
-----------------------------
#642138 by Zoltok, sun, smk-ka: Fixed wrong path to class.smtp.php.
#563112 by markus_petrux: Added support for Libraries API.
by smk-ka: Improved error handling.
......
......@@ -259,11 +259,6 @@ function phpmailer_preview() {
// @see drupal_mail_wrapper()
$format = variable_get('mimemail_format', FILTER_FORMAT_DEFAULT);
$body = check_markup($body, $format, FALSE);
// @see mimemail()
foreach (module_implements('mail_alter') as $module) {
$function = $module .'_mail_alter';
$function($mailkey, $recipient, $subject, $body, $sender, $headers);
}
// @see mimemail_prepare()
$body = theme('mimemail_message', $body, $mailkey);
foreach (module_implements('mail_post_process') as $module) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment