From 33c34a9900abc3e93bf816b850d72713987da868 Mon Sep 17 00:00:00 2001 From: rub Date: Fri, 11 Aug 2006 22:37:22 +0000 Subject: 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 --- include/functions_mail.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') 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"; -- cgit v1.2.3