mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Avoid eMail misses new-lines of a message when non-ascii included.
This commit is contained in:
parent
eaa98269b2
commit
dac4b25b99
@ -1073,7 +1073,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user