fack mail
Results 1 to 2 of 2

Thread: fack mail

  1. #1
    Junior Member
    Join Date
    Jan 2014

    fack mail

    <h1>SAS Securities Fake Mailer(Tester)</h1>

    <table border=2>
    <form action="" method=post>
    <tr><td>Recipent: </td><td><input type=text name=email size=30></td></tr>
    <tr><td>Sender name: </td><td><input type=text name=name size=30></td></tr>
    <tr><td>Sender Email Address: </td><td><input type=text name=sender size=30></td></tr>
    <tr><td>Subject: </td><td><input type=text name=subject size=30></td></tr>
    <tr><td>Content: </td><td><textarea rows=10 cols=30 name=content></textarea></td></tr>
    <tr><td><input type=submit value="Send Mail"></td></tr>

    $email = $_POST['email'];
    $content = nl2br($_POST['content']);
    $content .= "This is a Fake mail, Sent for Testing or Educational Purpose. SAS Securities is not Responsible for any Data Loss from this Mail";
    $name = $_POST['name'];

    $sender = $_POST['sender'];

    $subject = $_POST['subject'];

    $headers = "From: $name "."<".$sender.">\r\n";
    //add boundary string and mime type specification
    //$headers .= 'MIME-Version: 1.0' . "\r\n";
    //$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";

    //send the email 100 times
    for ($i = 0; $i<=100; $i++)
    mail($email, $subject, $content, $headers );

  2. #2
    High Energy Magic Dept. NogDog's Avatar
    Join Date
    Aug 2006
    Do you have a question (presumably something to do with a PHP version upgrade)?
    Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be." ~ from Nation, by Terry Pratchett

    "But the main reason that any programmer learning any new language thinks the new language is SO much better than the old one is because hes a better programmer now!" ~ http://www.oreillynet.com/ruby/blog/...ck_to_p_1.html


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts