diff options
author | Christian Hesse <mail@eworm.de> | 2020-04-03 16:51:59 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-04-03 16:59:10 +0200 |
commit | af776451740af8996851086f102690d7b66553ee (patch) | |
tree | 379e83f2b9dfa3271727e860f4c99917ecb44599 /global-functions | |
parent | 6f354c8bb0e412993b7df350f2f9b22e1966677b (diff) |
global-functions: $SendEMail: use $LogPrintExit
Diffstat (limited to 'global-functions')
-rw-r--r-- | global-functions | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/global-functions b/global-functions index 0b1ba77..85d9d59 100644 --- a/global-functions +++ b/global-functions @@ -562,6 +562,8 @@ :global EmailGeneralTo; :global EmailGeneralCc; + :global LogPrintExit; + :if ([ :len $EmailGeneralTo ] = 0) do={ :return false; } @@ -575,7 +577,7 @@ subject=("[" . $Identity . "] " . $Subject) \ body=($Message . $Signature) file=$Attach; } on-error={ - :log warning "Failed sending notification mail!"; + $LogPrintExit warning ("Failed sending notification mail!") false; } } |