Skip to content

Commit

Permalink
Resolved Issue ID 0000516:
Browse files Browse the repository at this point in the history
  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
  • Loading branch information
rub committed Aug 11, 2006
1 parent e097dba commit 33c34a9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/functions_mail.inc.php
Expand Up @@ -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";
Expand Down

0 comments on commit 33c34a9

Please sign in to comment.