diff options
author | rub <rub@piwigo.org> | 2006-04-11 20:00:38 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2006-04-11 20:00:38 +0000 |
commit | 41a9a7274eef1f9517f9bd556557184d0237e32e (patch) | |
tree | feb6fcbf88d47a0f920de81dc648fedea38197dd | |
parent | ca9107a7fc0f28877b658cc48d378fc3feaefacd (diff) |
Issue ID 328:
o Fix raw text mail
git-svn-id: http://piwigo.org/svn/trunk@1148 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r-- | include/functions_mail.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
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; |