Unverified Commit a5808af3 authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #1175 from ikedas/issue-1174 by ikedas

Bulk.pl didn't deliver mails if failed to personalize (#1174)
parents 4cebf590 500bc503
......@@ -1515,16 +1515,16 @@ sub _merge_msg {
|| 'NONE');
}
unless ($in_cset->decoder) {
$log->syslog('err', 'Unknown charset "%s"', $charset);
return undef;
$log->syslog('info', 'Unknown charset "%s"', $charset);
return $entity;
}
$in_cset->encoder($in_cset); # no charset conversion
## Only decodable bodies are allowed.
eval { $utf8_body = Encode::encode_utf8($in_cset->decode($body, 1)); };
if ($EVAL_ERROR) {
$log->syslog('err', 'Cannot decode by charset "%s"', $charset);
return undef;
$log->syslog('info', 'Cannot decode by charset "%s"', $charset);
return $entity;
}
## PARSAGE ##
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment