UNTITLED include "connect.inc.php";
if ($subject) {
$query = "select name,email from user";
$res = mysql_query($query);
$row = mysql_fetch_array($res);
while ($row) {
mail($row['email'],$subject,$row['name'].":n".$text."n中国广告网,和你共成长。www.guanggaocn.comn","From:".$mailaddress);
$row = mysql_fetch_array($res);
}
echo "";}
?>
群发邮件
【本文版权归作者与奥索网共同拥有,如需转载,请注明作者及出处】
http://www.bkjia.com/PHPjc/316712.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/316712.htmlTechArticleHTML TITLE UNTITLED /TITLE ?php include connect.inc.php; if ($subject) { $query = select name,email from user; $res = mysql_query($query); $row = mysql_fetch_array($res); while ($ro...