From: Bernd Bleßmann Date: Mon, 31 Jan 2022 16:46:59 +0000 (+0100) Subject: E-Mails als HTML verschicken: Mail-Body wiederkehrende RGs: Variablenersetzung X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~220^2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d2bdf90e6aaf154f0cedd059bf41c60fb9a0e7db;p=kivitendo-erp.git E-Mails als HTML verschicken: Mail-Body wiederkehrende RGs: Variablenersetzung --- diff --git a/SL/BackgroundJob/CreatePeriodicInvoices.pm b/SL/BackgroundJob/CreatePeriodicInvoices.pm index ab2896196..4e3206317 100644 --- a/SL/BackgroundJob/CreatePeriodicInvoices.pm +++ b/SL/BackgroundJob/CreatePeriodicInvoices.pm @@ -473,7 +473,7 @@ sub _email_invoice { invoice => $data->{invoice}, vars => $data->{time_period_vars}, attribute => $_, - attribute_format => 'text' + attribute_format => ($_ eq 'email_body' ? 'html' : 'text') ); }