X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/3d7797630e04ddb308b11a58cd9732d502029125..69822fd215cb15e1bb017f1af6f0a185f62a31e2:/SL/Mailer.pm?ds=sidebyside diff --git a/SL/Mailer.pm b/SL/Mailer.pm index 37d98b7a7..aec34e67d 100644 --- a/SL/Mailer.pm +++ b/SL/Mailer.pm @@ -30,6 +30,8 @@ package Mailer; +use SL::Common; + sub new { $main::lxdebug->enter_sub(); @@ -95,7 +97,7 @@ sub send { $domain =~ s/(.*?\@|>)//g; my $msgid = "$boundary\@$domain"; - $self->{charset} = "ISO-8859-15" unless $self->{charset}; + $self->{charset} = Common::DEFAULT_CHARSET unless $self->{charset}; if ($out) { if (!open(OUT, $out)) {