aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/notification-email.rsc3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/notification-email.rsc b/mod/notification-email.rsc
index e10353c..5d5aed1 100644
--- a/mod/notification-email.rsc
+++ b/mod/notification-email.rsc
@@ -131,6 +131,7 @@
:global EitherOr;
:global IfThenElse;
+ :global NotificationEMailSignature;
:global NotificationEMailSubject;
:local To [ $EitherOr ($EmailGeneralToOverride->($Notification->"origin")) $EmailGeneralTo ];
@@ -144,7 +145,7 @@
:if ([ :typeof $EmailQueue ] = "nothing") do={
:set EmailQueue ({});
}
- :local Signature [ /system/note/get note ];
+ :local Signature [ $EitherOr [ $NotificationEMailSignature ] [ /system/note/get note ] ];
:set ($EmailQueue->[ :len $EmailQueue ]) {
to=$To; cc=$Cc;
subject=[ $NotificationEMailSubject ($Notification->"subject") ];