|
|
@ -20,7 +20,7 @@ class Mailer {
|
|
|
|
$to_combined = $to_name ? "$to_name <$to_address>" : $to_address;
|
|
|
|
$to_combined = $to_name ? "$to_name <$to_address>" : $to_address;
|
|
|
|
|
|
|
|
|
|
|
|
if (defined('_LOG_SENT_MAIL') && _LOG_SENT_MAIL)
|
|
|
|
if (defined('_LOG_SENT_MAIL') && _LOG_SENT_MAIL)
|
|
|
|
Logger::get()->log("Sending mail from $from_combined to $to_combined <$to_address> [$subject]: $message");
|
|
|
|
Logger::get()->log("Sending mail from $from_combined to $to_combined [$subject]: $message");
|
|
|
|
|
|
|
|
|
|
|
|
// HOOK_SEND_MAIL plugin instructions:
|
|
|
|
// HOOK_SEND_MAIL plugin instructions:
|
|
|
|
// 1. return 1 or true if mail is handled
|
|
|
|
// 1. return 1 or true if mail is handled
|
|
|
|