標題:
0521留言版3
[打印本頁]
作者:
may
時間:
2011-5-22 09:51
標題:
0521留言版3
<?
$mail[] = 10;
$mail[0] = "bluecat.admin@gmail.com";
$mail[1] = "bluecat.admin@gmail.com";
$mail[2] = "bluecat.admin@gmail.com";
$mail[3] = "bluecat.admin@gmail.com";
$mail[4] = "bluecat.admin@gmail.com";
$mail[5] = "bluecat.admin@gmail.com";
$mail[6] = "bluecat.admin@gmail.com";
$mail[7] = "bluecat.admin@gmail.com";
$mail[8] = "bluecat.admin@gmail.com";
$mail[9] = "bluecat.admin@gmail.com";
$n = $_GET['n'] + 1;
header("refresh:1;url=http://localhost/0521/sendmail.php?n=$n");
$headers="MIME-VERSION:1.0\r\n";
$headers.="Content-type:test/html;charset=utf-8\r\n";
$headers.="From: 系統管理員 <
bluecat.admin@gmail.com
>\r\n";
mail($mail[$n], '垃圾信', '<b>test mail</b>',$headers);
?>
歡迎光臨 種子論壇 | 高雄市資訊培育協會學員討論區 (http://istak.org.tw/seed/)
Powered by Discuz! 7.2