From: Moritz Bunkus Date: Wed, 12 Jan 2022 11:26:11 +0000 (+0100) Subject: E-Mails als HTML verschicken: Versand wiederkehrender Rechnungen X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~220^2~3 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e4b4e4d3dd4b1e85212b9e061ff4c659ed02d8b8;p=kivitendo-erp.git E-Mails als HTML verschicken: Versand wiederkehrender Rechnungen --- diff --git a/SL/BackgroundJob/CreatePeriodicInvoices.pm b/SL/BackgroundJob/CreatePeriodicInvoices.pm index f41135387..ab2896196 100644 --- a/SL/BackgroundJob/CreatePeriodicInvoices.pm +++ b/SL/BackgroundJob/CreatePeriodicInvoices.pm @@ -489,6 +489,8 @@ sub _email_invoice { $mail->{bcc} = $global_bcc; $mail->{subject} = $data->{config}->email_subject; $mail->{message} = $data->{config}->email_body; + $mail->{message} .= SL::DB::Default->get->signature; + $mail->{content_type} = 'text/html'; $mail->{attachments} = [{ path => $pdf_file_name, name => sprintf('%s %s.pdf', $label, $data->{invoice}->invnumber),