Fix mail_appdb() by using comma to separate addresses

This commit is contained in:
Jonathan Ernst
2005-01-30 02:24:54 +00:00
committed by WineHQ
parent b672ab0027
commit 5561447548

View File

@@ -14,7 +14,7 @@ function mail_appdb($sEmailList,$sSubject,$sMsg)
$sMsg .= "\r\n\r\nIf you don't want to receive any other e-mail, please change your preferences:\r\n";
$sMsg .= APPDB_ROOT."preferences.php\r\n";
$bResult = mail($sEmailList, "[AppDB] ".$sSubject, $sMsg, $sHeaders, "-f".APPDB_OWNER_EMAIL);
$bResult = mail(str_replace(" ",",",$sEmailList), "[AppDB] ".$sSubject, $sMsg, $sHeaders, "-f".APPDB_OWNER_EMAIL);
if($bResult)
addmsg("Message sent to: ".$sEmailList, "green");
else