]> wagnertech.de Git - kivitendo-erp.git/commitdiff
charset für Mailer bei Mahnungen setzen.
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Tue, 30 Oct 2012 12:56:51 +0000 (13:56 +0100)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Tue, 30 Oct 2012 12:56:51 +0000 (13:56 +0100)
SL/DN.pm

index 94e5b770899811665a2c840c6743ba9ff6b18a0c..46749ab37cb676c656baadfbbe13c3169e88d048 100644 (file)
--- a/SL/DN.pm
+++ b/SL/DN.pm
@@ -368,6 +368,7 @@ sub send_email {
 
   my $template     = SL::Template::create(type => 'PlainText', form => $form, myconfig => $myconfig);
   my $mail         = Mailer->new();
+  $mail->{charset} = $::lx_office_conf{system}->{dbcharset} || Common::DEFAULT_CHARSET;
   $mail->{from}    = $myconfig->{email};
   $mail->{to}      = $ref->{recipient};
   $mail->{subject} = $template->parse_block($ref->{email_subject});