PHP eMailer) .
!! Smart-z3r0-hima-roost
!! PHP Mailer
Your Email:
Your Name:
Reply-To:
Attach File:
Subject:
<? print $message; ?>
Plain
HTML
<? print $emaillist; ?>
<?
if ($action){
if (!$from && !$subject && !$message && !$emaillist){
print "Please complete all fields before sending your message.";
exit;
}
$allemails = split("\n", $emaillist);
$numemails = count($allemails);
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>\r\nReply-To: $replyto\r\n";
$header .= "MIME-Version: 1.0\r\n";
$header .= "Content-Type: text/$contenttype\r\n";
$header .= "Content-Transfer-Encoding: 8bit\r\n\r\n";
$header .= "$message\r\n";
mail($to, $subject, "", $header);
print "ok";
flush();
}
}
}
?>
PHP Mailer) .
<?php
if(isset($_POST['action']) && $numemails !==0 ){echo "";}
?>
| Article list | Name | Date |
| Currently Viewing : This Article | The Doctor | 2009-05-11 23:59:59 | |
| Click Here | Ashley Sheridan | 2009-05-12 06:40:57 | |
| Click Here | Nathan Rixham | 2009-05-12 10:36:59 | |
| Click Here | The Doctor | 2009-05-12 13:03:13 |












