diff --git a/pandora_server/lib/PandoraFMS/Core.pm b/pandora_server/lib/PandoraFMS/Core.pm index 92f213a9c9..19717beae2 100644 --- a/pandora_server/lib/PandoraFMS/Core.pm +++ b/pandora_server/lib/PandoraFMS/Core.pm @@ -1134,10 +1134,10 @@ sub pandora_execute_action ($$$$$$$$$;$) { # Check if message has non-ascii chars. # non-ascii chars should be encoded in UTF-8. - if ($field3 =~ /[^[:ascii:]]/o) { - $field3 = encode("UTF-8", $field3); - $content_type = 'text/plain; charset="UTF-8"'; - } + #if ($field3 =~ /[^[:ascii:]]/o) { + # $field3 = encode("UTF-8", $field3); + # $content_type = 'text/plain; charset="UTF-8"'; + #} # Build the mail with attached content if (keys(%{$module_graph_list}) > 0) { @@ -1147,8 +1147,8 @@ sub pandora_execute_action ($$$$$$$$$;$) { $boundary = "--" . $boundary; $field3 = $boundary . "\n" - . "Content-Type: " . $html_content_type . "\n" - . "Content-Transfer-Encoding: quoted-printable\n\n" + . "Content-Type: " . $html_content_type . "\n\n" + #. "Content-Transfer-Encoding: quoted-printable\n\n" . $field3 . "\n";