X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44..53593baa211863fbf66540cf1bcc36c8fb37257f:/SL/BackgroundJob/FailedBackgroundJobsReport.pm diff --git a/SL/BackgroundJob/FailedBackgroundJobsReport.pm b/SL/BackgroundJob/FailedBackgroundJobsReport.pm index e0bea8b67..a29aea501 100644 --- a/SL/BackgroundJob/FailedBackgroundJobsReport.pm +++ b/SL/BackgroundJob/FailedBackgroundJobsReport.pm @@ -39,12 +39,12 @@ sub send_email { EVAL_PERL => 0, ABSOLUTE => 1, CACHE_SIZE => 0, + ENCODING => 'utf8', }) || die("Could not create Template instance"); my $file_name = $self->data->{template} || 'templates/webpages/failed_background_jobs_report/email.txt'; my $body; $template->process($file_name, { SELF => $self }, \$body); - $body = Encode::decode('utf-8', $body); Mailer->new( from => $self->data->{from},