diff options
author | rub <rub@piwigo.org> | 2006-08-11 22:41:06 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2006-08-11 22:41:06 +0000 |
commit | f784cae8158b41f8cfe2bb1615e285b55828777b (patch) | |
tree | f849baf0941cdacdd3873ea311fd036bcfac5439 /include | |
parent | 8eef1c34ae69abceb8c52e3a03b7cbce2cb582df (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/functions_mail.inc.php | 4 |
1 files changed, 3 insertions, 1 deletions
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"; |