Success!

Note

Error

Session expiration Your session is going to expireClick here to extend

Budget:

Small project <800

Posted on

10/1/18 6:32 PM

Buyer:

dta***

This project has expired

Why don't you register anyway? We are sure that you will find many similar projects out of the thousands waiting for you!

Post similar project now

Description

I need a powerful tool for Linux to send mass emails.

First of all and most important, it will use links for sending emails.

Not smtps, not local sendmail, but remote php files.


Example:

http://www.site1.com/sendmail.php

http://www.site2.com/sendmail.php

http://www.site3.com/sendmail.php

http://www.site4.com/sendmail.php

http://www.site5.com/sendmail.php

It has to support big files.


========================================

sendmail.php code

ini_set("memory_limit", "256M");

ini_set("display_errors","0");

ignore_user_abort(true);


if(isset($_POST['email'])) {

$message = urlencode($_POST['message']);

$message = ereg_replace("%5C%22", "%22", $message);

$message = urldecode($message);

$message = stripslashes($message);

$subject = stripslashes($_POST['subject']);

$from = $_POST['from'];

$toemail = $_POST['email'];

$header = 'MIME-Version: 1.0' . "\r\n";

$header .= "From: ".$_POST['realname']." "." <".$_POST['from'].">\n";

$header .= 'Content-type: text/html; charset=utf-8' . "\n";


if (mail($toemail, $subject, $message, $header)) {

echo("SEND\t $toemail");

} else {

echo("ERROR\t $toemail");

}

} else {

print '

!PhpSend!

';

}


?>


========================================

Of course you can make something better.


The tool must have the option of creating random variables.

Random strings in header.


It can insert $firstname $lastname in the html letter.

$email $randomnumber(lenght), $randomtext(lenght)


It has to pickup random subjects from subjects.txt

It has to pickup random links from links.txt to be put in the letter

It has to pick random "From:" from senders.txt


The php sender links will sit in senders.txt

It will pick them with multi threads.