Posts tagged mail

Recently Changed My Primary Email Address

0

I recently changed my primary email address, please save my new email address into your contact.
Here is my new mail address:

<?php
function chMailAddr($oldEmailAddr){
  $newMail = strtolower($oldEmailAddr);
  $newMail = str_replace("tompel","", $newMail);
  return $newMail;
}

function validateEmail($email){
  return preg_match("/^[_\.0-9a-zA-Z-]+@([0-9a-zA-Z][0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$/i", $email);
}

$pastMail = "ditatompel@crayoncreative.net";

if(!validateEmail($pastMail)):
  exit("exiting");
else:
  require_once ("connect.php");
  $getContact = mysql_query("SELECT * FROM contact");
  while($gotContact = mysql_fetch_array($getContact)){
    $subject = "[ATTENTION] Change Email Address";
    $body = "Please save my new email address : ".chMailAddr($pastMail);
    $headers = "From: Christian Ditaputratama <".$pastMail.">\n";
    $headers .= "X-Sender: <".$pastMail.">\n";
    $headers .= "Reply-To: Christian Ditaputratama <".chMailAddr($pastMail).">\n";
    $headers .= "X-Mailer: PHP/".phpversion()."\n";
    mail($gotContact['email'], $subject, $body, $headers);

  print "Sending message to ".$gotContact['name'];
  }
endif;
?>
t-mail-bomb

T-Mail Bo*mber, A Simple PHP Mail Bomb

t-mail-bombUsed solely for educational purposes only. Author cannot be held responsible for any (ab)use of this software.

Name : T-Mail Bo*mber
Version : 1.0
Proglang : PHP
Requirement : Hosts with active mail server.

In Internet usage, an e-mail bomb is a form of net abuse consisting of sending huge volumes of e-mail to an address in an attempt to overflow the mailbox or overwhelm the server where the email address is hosted in a Denial Of Service attack.

I create this one using Mass Mailing method. Mass mailing consists of sending numerous duplicate mails to the same email address. So, this mail bomb are simple to design but their extreme simplicity, it means they can be easily detected by spam filters. (more…)

Go to Top