aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_mail.inc.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2006-04-11 20:07:48 +0000
committerrub <rub@piwigo.org>2006-04-11 20:07:48 +0000
commit868ff17cf6c56042eafc19a46b767486d96a25b4 (patch)
treefeb6fcbf88d47a0f920de81dc648fedea38197dd /include/functions_mail.inc.php
parent06c226eaf76ff7269f333672e39ceb4275038d9f (diff)
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
Diffstat (limited to 'include/functions_mail.inc.php')
-rw-r--r--include/functions_mail.inc.php4
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;