Commit b1b53e3d authored by Christian Hesse's avatar Christian Hesse

global-functions: append system note in e-mail signature

parent 12af69b4
......@@ -107,8 +107,13 @@
:if ([ :len $EmailGeneralTo ] > 0) do={
:do {
:local Signature [ / system note get note ];
:if ([ :len $Signature ] > 0) do={
:set Signature ("\n-- \n" . $Signature);
}
/ tool e-mail send to=$EmailGeneralTo cc=$EmailGeneralCc \
subject=("[" . $Identity . "] " . $Subject) body=$Message file=$Attach;
subject=("[" . $Identity . "] " . $Subject) \
body=($Message . $Signature) file=$Attach;
} on-error={
:log warning "Failed sending notification mail!";
}
......
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