Commit adec2e61 authored by claudiu.cristea's avatar claudiu.cristea Committed by sun

- #1162666 by sun, claudiu.cristea: Fixed Fatal error: Call to undefined...

- #1162666 by sun, claudiu.cristea: Fixed Fatal error: Call to undefined function mimemail_rfc_headers().
parent 5dd09a4e
......@@ -93,6 +93,9 @@ function phpmailer_mailengine($op, $message = array()) {
case 'single':
case 'send':
module_load_include('inc', 'phpmailer', 'includes/phpmailer.mimemail');
// Mimemail API does not load mimemail.inc for other mailengines; we rely
// on mimemail_rfc_headers(), so ensure that it is loaded.
module_load_include('inc', 'mimemail');
return mimemail_phpmailer_send($message);
}
}
......
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