Skip to content
Snippets Groups Projects
Commit 38ffacf6 authored by Jesse Norell's avatar Jesse Norell
Browse files

notification emails replace placeolders in From

parent 9f8bb33d
No related branches found
No related tags found
No related merge requests found
......@@ -865,6 +865,7 @@ class monitor_tools {
//* Replace placeholders
$mailHeaders = strtr($mailHeaders, $placeholders);
$mailFrom = strtr($mailFrom, $placeholders);
$mailSubject = strtr($mailSubject, $placeholders);
$mailBody = strtr($mailBody, $placeholders);
......@@ -872,11 +873,6 @@ class monitor_tools {
$app->functions->mail($recipients[$r], $mailSubject, $mailBody, $mailFrom);
}
unset($mailSubject);
unset($mailHeaders);
unset($mailBody);
unset($lines);
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment