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
This commit is contained in:
rub
2006-04-11 20:07:48 +00:00
parent 06c226eaf7
commit 868ff17cf6

View File

@@ -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;