MQ Relinks 1.1
Categories: Silenced general, Silenced plugins, Silenced wordpress
New in version 1.1
- Fixed it to work with wp 2.7.1
- Updated to ignore anchor links (the ones that start with #)
You can grab it here: MQ Relinks 1.1
New in version 1.1
You can grab it here: MQ Relinks 1.1
My blog directory is an unusual kind of directory.
After you submit your blog you are asked to place a link on your site/blog, but only if you want to. If you choose to do so,you get the change to become the blog of the day.
Blog of the day will be chosen on the basis of the number of unique visitors sent by the blog per day. The blog of the day will get the whole traffic of Myblogdirectory.
Before reading this post you must promise you will not use this info for evil things >:)
First, you must have a list of emails. Put them in a .txt file, one per line.
Second, you need a message. Put that too in a .txt file (it can contain html)
Third, create a .php file containing the following:
function mailit ($to,$subject,$message,$from){
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";
$headers .= "From: <$from>" . "\r\n";
return (@mail(trim($to), $subject,$message, $headers)) ? TRUE : FALSE;
}
function mass_mail($emails,$subject,$body){
if(ini_get('SAFE_MODE')) {set_time_limit (0); } //check if safe_mode is on
$file['email']=file($emails); //create and array with the emails
$body=file_get_contents($body); //get the message
foreach($file['email'] as $k => $email) {
//check if the message was sent and return error or success message
echo (mailit($email,$subject,$body,$email )==FALSE) ?
"$k => $email @".date('h:i a')." <span style=\"color: red;\">Sending Failed!</span><br>" :
"$k => $email @".date('h:i a')." <span style=\"color: green;\">Mail sent!</span><br>" ;
//print what we have so far to the screen
ob_flush();
flush ();
}
}
mass_mail('emails.txt','subject','content.txt');
Where emails.txt is the file containing the email list and content.txt is the file containing the message.
So now you have three files. Two .txt files, one with the email list and the other with the message and a .php file that contains the functions. Now put the three files in the same folder and upload that folder to your server and test it.