diff options
author | Stefan Kangas <skangas@skangas.se> | 2011-03-14 17:01:52 +0100 |
---|---|---|
committer | Stefan Kangas <skangas@skangas.se> | 2011-03-14 17:01:52 +0100 |
commit | 3c84e11c460289b4906dd8add66a036e9287d7e6 (patch) | |
tree | c55588ac48ebb0d8b8c28303816aa077f0df0d9f /fripost-adduser | |
parent | 6a541a75d37cb1ef63bc2289a3114882efe38190 (diff) |
Fix subject encoding
Diffstat (limited to 'fripost-adduser')
-rwxr-xr-x | fripost-adduser | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fripost-adduser b/fripost-adduser index 0c6f587..a4ab077 100755 --- a/fripost-adduser +++ b/fripost-adduser @@ -16,7 +16,6 @@ use FindBin qw($Bin); use lib "$Bin/lib"; use Data::Dumper; -use Encode qw(encode); use File::Slurp qw(slurp); use Fripost::Password; use Fripost::Prompt; @@ -96,8 +95,7 @@ my $tt = Template->new({ my $msg = MIME::Lite->new( From => 'Friposts administratörer <admin@fripost.org>', - Subject => "=?UTF-8?B?" . - encode_base64(encode("utf8", 'Välkommen till Fripost!'), "") . "?=", + Subject => "=?UTF-8?B?" . encode_base64('Välkommen till Fripost!' . "?=", Encoding => 'quoted-printable', ); |