--- opac-sendbasket.pl 2016-10-25 12:04:24.917112600 +0300 +++ opac-sendbasket-patched.pl 2016-10-25 12:02:40.837112600 +0300 @@ -57,7 +57,7 @@ my $user_email = GetFirstValidEmailAddress($borrowernumber) || C4::Context->preference('KohaAdminEmailAddress'); - my $email_replyto = "$user->{firstname} $user->{surname} <$user_email>"; + my $email_replyto = Encode::encode("MIME-Q","$user->{firstname} $user->{surname} <$user_email>"); my $comment = $query->param('comment'); # if you want to use the KohaAdmin address as from, that is the default no need to set it @@ -129,7 +129,7 @@ if ( $template_res =~ /(.*)/s ) { $mail{subject} = $1; $mail{subject} =~ s|\n?(.*)\n?|$1|; - $mail{subject} = Encode::encode("UTF-8", $mail{subject}); + $mail{subject} = Encode::encode("MIME-Q", $mail{subject}); } else { $mail{'subject'} = "no subject"; }