Avoid eMail misses new-lines of a message when non-ascii included.

This commit is contained in:
Hirofumi Kosaka 2016-09-12 19:16:39 +09:00
parent dbb5aeee4c
commit b188eb6882
1 changed files with 1 additions and 1 deletions

View File

@ -1080,7 +1080,7 @@ sub pandora_execute_action ($$$$$$$$$;$) {
# non-ascii chars should be encoded in UTF-8.
if ($field3 =~ /[^[:ascii:]]/o) {
$field3 = encode("UTF-8", $field3);
$content_type = 'text/html; charset="UTF-8"';
$content_type = 'text/plain; charset="UTF-8"';
}
# Build the mail with attached content