Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISPConfig
ISPConfig 3
Commits
38ffacf6
Commit
38ffacf6
authored
Nov 11, 2020
by
Jesse Norell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
notification emails replace placeolders in From
parent
9f8bb33d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
server/lib/classes/monitor_tools.inc.php
server/lib/classes/monitor_tools.inc.php
+1
-5
No files found.
server/lib/classes/monitor_tools.inc.php
View file @
38ffacf6
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment