aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2006-08-11 22:37:22 +0000
committerrub <rub@piwigo.org>2006-08-11 22:37:22 +0000
commit33c34a9900abc3e93bf816b850d72713987da868 (patch)
treeb7cfc400c0227fcbc82c3b8886204be7ccb239c2
parente097dba6a6a7220b0a109672bc68d32c4d70217c (diff)
Resolved Issue ID 0000516:
o Charset not defined on mail headers (Content-Type) o Add too others important Content-Type informations git-svn-id: http://piwigo.org/svn/trunk@1532 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/functions_mail.inc.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php
index 30a288278..466cf921c 100644
--- a/include/functions_mail.inc.php
+++ b/include/functions_mail.inc.php
@@ -126,7 +126,10 @@ function pwg_mail($to, $from = '', $subject = 'PhpWebGallery', $infos = '')
$headers = 'From: '.$from."\n";
$headers.= 'Reply-To: '.$from."\n";
-
+ $headers.= 'Reply-To: '.$from."\n";
+ $headers.= 'Content-Type: text/plain;format=flowed;charset="'.$lang_info['charset'].'";';
+ $headers.= 'reply-type=original'."\n";
+
if ($conf_mail['send_bcc_mail_webmaster'])
{
$headers.= 'Bcc: '.$conf_mail['formated_email_webmaster']."\n";