返回列表 發帖

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);
?>
May

返回列表