From 868ff17cf6c56042eafc19a46b767486d96a25b4 Mon Sep 17 00:00:00 2001 From: rub Date: Tue, 11 Apr 2006 20:07:48 +0000 Subject: Issue ID 328: o Fix raw text mail Report of svn:1148 git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1149 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_mail.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php index 9c5b8aaa8..06d4d3e2d 100644 --- a/include/functions_mail.inc.php +++ b/include/functions_mail.inc.php @@ -122,6 +122,10 @@ function pwg_mail($to, $from = '', $subject = 'PhpWebGallery', $infos = '') $content = $infos; $content.= $conf_mail['text_footer']; + // Convert Text on HTML format to raw text format + $subject = html_entity_decode($subject); + $content = html_entity_decode($content); + if ($conf_mail['mail_options']) { $options = '-f '.$from; -- cgit v1.2.3