From f784cae8158b41f8cfe2bb1615e285b55828777b Mon Sep 17 00:00:00 2001 From: rub Date: Fri, 11 Aug 2006 22:41:06 +0000 Subject: Resolved Issue ID 0000516: o Charset not defined on mail headers (Content-Type) o Add too others important Content-Type informations Merge BSF r 1531:1532 into branch-1_6 And remove duplicate line of BSF! git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1533 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_mail.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php index 30a288278..7b6ca4593 100644 --- a/include/functions_mail.inc.php +++ b/include/functions_mail.inc.php @@ -126,7 +126,9 @@ function pwg_mail($to, $from = '', $subject = 'PhpWebGallery', $infos = '') $headers = 'From: '.$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"; -- cgit v1.2.3