mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 17:32:25 +02:00
Bug 1176: Mail are not sent on Free sites
"To: undisclosed-recipients: ;" are removed git-svn-id: http://piwigo.org/svn/branches/2.0@3925 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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']))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user