首页 >后端开发 >php教程 >我的群发邮件程序_PHP教程

我的群发邮件程序_PHP教程

WBOY
WBOY原创
2016-07-21 16:02:09910浏览


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 "";}
?>

群发邮件



邮件主题:>


邮件内容:





  

【本文版权归作者与奥索网共同拥有,如需转载,请注明作者及出处】    


www.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...
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn