aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_mail.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;