IBC forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Latest topics
» Purchasing Tag Heuer Watches on a Budget
[ask] [php] mass email spamer Icon_minitimeMon Mar 20, 2017 9:17 pm by fitch65221023

» Tag Heuer Gets A Taste
[ask] [php] mass email spamer Icon_minitimeMon Mar 20, 2017 9:11 pm by fitch65221023

» U.s. Remains World's Top Platinum Watch Market
[ask] [php] mass email spamer Icon_minitimeWed Dec 28, 2016 8:54 pm by fitch65221023

» The U.S. platinum watch market saw some other notable trends
[ask] [php] mass email spamer Icon_minitimeWed Dec 28, 2016 8:50 pm by fitch65221023

» Do You Love Luxury Panerai Watches?
[ask] [php] mass email spamer Icon_minitimeWed Dec 28, 2016 8:46 pm by fitch65221023

» Aqua Master Watches for this Christmas Season
[ask] [php] mass email spamer Icon_minitimeWed Dec 28, 2016 8:40 pm by fitch65221023

» A Guide To Womens Watches: Styles And Types
[ask] [php] mass email spamer Icon_minitimeThu Nov 10, 2016 9:25 pm by fitch65221023

» Aqua Master Diamond Watches For Women
[ask] [php] mass email spamer Icon_minitimeThu Nov 10, 2016 9:09 pm by fitch65221023

» A Luxury Watch To Celebrate Achievements
[ask] [php] mass email spamer Icon_minitimeMon Sep 12, 2016 10:03 pm by fitch65221023

IBC chat

ShoutMix chat widget
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

[ask] [php] mass email spamer

2 posters

Go down

[ask] [php] mass email spamer Empty [ask] [php] mass email spamer

Post  hakuya Tue Jul 19, 2011 5:03 pm

kk mau tanya nich, kemaren iseng bikin mass email spamer.,
berikut tampilannya
[ask] [php] mass email spamer Door10
nah ps di "to" itu sy maunya upload dari file .txt yg isinya data email semua,.
tapi anehnya pas akhir message sent tapi pas di cek ke email gag ke kirim.,
gmn yah solusinya??

sedikit petikan puisinya

Code:
$myfile = $_FILES['to']['tmp_name'];
    $subject = $_GET['subject'];
    $message = $_GET['message'];
   $fromaddress = $_GET['fromaddres'];
   $addres = array();
   $addres = file_get_contents($myfile);
   $alamat = explode("\n",$addres);
for ($i = 1; $i <= 2000; $i++){   
   foreach ($alamat as $mail){
   $cihuy = '<option value="'.$mail.'">'.$mail.'</option>';
   $fromname = "FBI";
   
    $eol="n";
    $headers = "From: ".$fromname."<".$fromaddress.">".$eol;
    $headers .= "Reply-To: ".$fromname."<".$fromaddress.">".$eol;
    $headers .= "Return-Path: ".$fromname."<".$fromaddress.">".$eol;
    $headers .= "Message-ID: <".time()."-".$fromaddress.">".$eol;
    $headers .= "X-Mailer: PHP v".phpversion().$eol;
    $headers .= 'MIME-Version: 1.0'.$eol;
    $headers .= "Content-type: text/html; charset=iso-8859-1".$eol.$eol;

    $sent = mail($cihuy, $subject, $message, $headers);

    if($sent)
    {
        echo "Message to $cihuy has been sent<br>";
    }
    else
    {
        print "Something went wrong";
    }
   }
   }
hakuya
hakuya

Posts : 13
Join date : 2010-11-09
Age : 34

Back to top Go down

[ask] [php] mass email spamer Empty Re: [ask] [php] mass email spamer

Post  vailo Wed Jul 20, 2011 4:13 pm

hakuya wrote:
. . .
$cihuy = '<option value="'.$mail.'">'.$mail.'</option>';
. . .
$sent = mail($cihuy, $subject, $message, $headers);
. . .

kalo misalnya isi variable $mail = "hakuya@ibc.ko.ide", brarti isi variable $cihuy = "<option value='hakuya@ibc.ko.ide'>hakuya@ibc.ko.ide</option>" donk...
Q:emailnya ke kirim?
A: YA!!

Q: emailnya dikirim ke mana?
A: BUKAN ke "hakuya@ibc.ko.ide", tapi ke "<option value='hakuya@ibc.ko.ide'>hakuya@ibc.ko.ide</option>"
vailo
vailo

Posts : 137
Join date : 2009-10-18

Back to top Go down

[ask] [php] mass email spamer Empty Re: [ask] [php] mass email spamer

Post  hakuya Thu Jul 21, 2011 3:16 pm

vailo wrote:
hakuya wrote:
. . .
$cihuy = '<option value="'.$mail.'">'.$mail.'</option>';
. . .
$sent = mail($cihuy, $subject, $message, $headers);
. . .

kalo misalnya isi variable $mail = "hakuya@ibc.ko.ide", brarti isi variable $cihuy = "<option value='hakuya@ibc.ko.ide'>hakuya@ibc.ko.ide</option>" donk...
Q:emailnya ke kirim?
A: YA!!

Q: emailnya dikirim ke mana?
A: BUKAN ke "hakuya@ibc.ko.ide", tapi ke "<option value='hakuya@ibc.ko.ide'>hakuya@ibc.ko.ide</option>"

berarti harus begini yah??
Code:

. . .
$sent = mail($mail, $subject, $message, $headers);
. . .
hakuya
hakuya

Posts : 13
Join date : 2010-11-09
Age : 34

Back to top Go down

[ask] [php] mass email spamer Empty Re: [ask] [php] mass email spamer

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum