Home > php教程 > php手册 > 我的群发邮件程序_php基础

我的群发邮件程序_php基础

WBOY
Release: 2016-05-17 09:05:33
Original
1732 people have browsed it

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

群发邮件



邮件主题:>


邮件内容:





source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template