Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-04-2010, 07:24 PM   #1
mkx
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Location: Toronto
Posts: 4,001
Bulk email list program?

I need to send about 1000 emails to tell people my sites up again. Any quick way to do this without everyone seeing my list of emails?
mkx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-04-2010, 07:41 PM   #2
goodsites
Confirmed User
 
Industry Role:
Join Date: Jan 2010
Location: Over the rainbows
Posts: 538
mail 50 emails every 8 seconds... call from your databse of emails.. you have to edit this query below to match your database or change it up to read in a text file

the db.php is the connection/login info for your db...


<?php
include('./db.php');

$count=1;
$result = mysql_query("SELECT `username`, `email` FROM `member` WHERE `active` = 1 and is_banned = 0");

while ($row=mysql_fetch_array($result)) {
$username = trim($row['username']);
$email = trim($row['email']);

echo "Email: $email\n";
if ($count == 50) {
echo "Count: $count\nSleeping for 8 seconds";
sleep(8);
$count = 0;
}

$fromaddress = "[email protected]";
$to = trim($email);
$subject = "Happy Easter From SOMEONE";

$headers="";
$headers .= "X-Sender: $to <$to>\n";
$headers .= "From: <$fromaddress>\n";
$headers .= "Reply-To: <$fromaddress>\n";
$headers .= "Date: ".date("r")."\n";
$headers .= "Message-ID: <".date("YmdHis")."noreply@".mydomain.com.">\n" ;
$headers .= "Subject: $subject\n";
$headers .= "Return-Path: $fromaddress <$fromaddress>\n";
$headers .= "Delivered-to: $fromaddress <$fromaddress>\n";
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html;charset=ISO-8859-9\n";
$headers .= "X-Priority: 1\n";
$headers .= "Importance: High\n";
$headers .= "X-MSMail-Priority: High\n";
$headers .= "X-Mailer: Msg Mailer\n";

$body = "Hello $username,<br />
<p>Greetings friends,
blah blah blah<br />


<p>Cya, Me<br />
<br />
";

mail($to, $subject, $body, $headers);
$count = $count +1;

}

exit;

?>

Enjoy
goodsites is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-04-2010, 07:43 PM   #3
mkx
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Location: Toronto
Posts: 4,001
Thanks, so db.php should be a line by line list of the emails?
mkx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-04-2010, 07:44 PM   #4
goodsites
Confirmed User
 
Industry Role:
Join Date: Jan 2010
Location: Over the rainbows
Posts: 538
db.cfg might be something like this.. edit it

<?php
$db=mysql_connect("localhost", "EDITUSERNAME", "EDITPASSWORD");
mysql_select_db("INSERTDBNAMEHERE",$db);
?>
goodsites is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-04-2010, 07:46 PM   #5
goodsites
Confirmed User
 
Industry Role:
Join Date: Jan 2010
Location: Over the rainbows
Posts: 538
thats for reading from your mysql databse which you will have to know your username and email stuff and fixup the query.

If you want to just read in a line by line text file

remove the db stuff and do like

$emails = file('./emails.txt');

foreach ($emails as $email) {

..insert just the mailing code above here...

}
goodsites is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-05-2010, 03:45 AM   #6
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
this will get you on the spamlist in record time
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.