From 41a9a7274eef1f9517f9bd556557184d0237e32e Mon Sep 17 00:00:00 2001 From: rub Date: Tue, 11 Apr 2006 20:00:38 +0000 Subject: Issue ID 328: o Fix raw text mail git-svn-id: http://piwigo.org/svn/trunk@1148 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_mail.inc.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/functions_mail.inc.php') 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