(bug #2995) Set a default encoding for e-mails
Just set a default encoding as utf8 if none is provided.
This commit is contained in:
parent
d6458e188c
commit
7a50c0fb2d
|
|
@ -757,7 +757,10 @@ sub _send_message_by_email {
|
|||
);
|
||||
if ($message->{'content_type'}) {
|
||||
$sendmail_params{'content-type'} = $message->{'content_type'};
|
||||
}else{
|
||||
$sendmail_params{'content-type'} = 'text/plain; charset="UTF-8"';
|
||||
}
|
||||
|
||||
my $success = sendmail( %sendmail_params );
|
||||
|
||||
if ( $success ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue