]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DN.pm
Mailer: Zeichensatzattribut bei Anhängen nur bei Text-Anhängen setzen
[kivitendo-erp.git] / SL / DN.pm
index b9568bd13d92487518f7a5f681a1dd4099e7368c..b29cf51a27eb0cf146651b8c3bebc54077a3a59e 100644 (file)
--- a/SL/DN.pm
+++ b/SL/DN.pm
@@ -399,6 +399,7 @@ sub send_email {
 
   my $template     = SL::Template::create(type => 'PlainText', form => $form, myconfig => $myconfig);
   my $mail         = Mailer->new();
+  $mail->{bcc}     = $form->get_bcc_defaults($myconfig, $form->{bcc});
   $mail->{from}    = $myconfig->{email};
   $mail->{to}      = $ref->{recipient};
   $mail->{subject} = $template->parse_block($ref->{email_subject});