Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
merge -c3925 from branch 2.0 to trunk
Bug 1176: Mail are not sent on Free sites
"To: undisclosed-recipients: ;" are removed

git-svn-id: http://piwigo.org/svn/trunk@3926 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
rub committed Sep 27, 2009
1 parent 2aacffa commit 1c8a47a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions include/functions_mail.inc.php
Expand Up @@ -606,12 +606,6 @@ function pwg_mail($to, $args = array())

$headers = 'From: '.$args['from']."\n";
$headers.= 'Reply-To: '.$args['from']."\n";
if (empty($to))
{
// Add only when to is empty
// else mail() add 'To:' on header
$headers.= 'To: undisclosed-recipients: ;'."\n";
}

if (!empty($args['Cc']))
{
Expand Down

0 comments on commit 1c8a47a

Please sign in to comment.