Permanently Closed Marketplace Sales Thread

Status
Not open for further replies.

chillyd1

Registered Member
Joined
Aug 22, 2007
Messages
64
Reaction score
55
Last edited by a moderator:
Here you go.. this just took me a few minutes.. not worth 40 bucks LOL


Code:
<?
set_time_limit(0);

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



if($_POST['send']=="Submit")
{

$reciparr=explode("\n",$_POST['to']);

echo "Total mail to send is:". count($reciparr)." <br>";


	for($i=0;$i<count($reciparr);$i++)
	{

	$specsarr=explode("|",$reciparr[$i]);

	$salutation="Hi ".trim(ucfirst($specsarr[0])).",\n";


	mail(trim($specsarr[1]), $subject,$salutation ."\n". str_replace("{{fname}}",trim(ucfirst($specsarr[0])),$msg), "From: YOURNAME <[email protected]>");

	echo $i+1 .") mail sent to: ". $specsarr[1];
	echo" <br>";
	flush;

	}


}

?>

<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>mail</title>
</head>

<body>

<form method="POST" action="massmailer.php">
  <p>Subject <input type="textbox" name="subj" size="20"></p>
  <p>
  Recipients</p>
  <p>
  <textarea rows="12" name="to" cols="48"></textarea></p>
  <p>Message</p>
  <p><textarea rows="12" name="msg" cols="48"></textarea></p>
  <p><input type="submit" value="Submit" name="send">
  </p>
</form>

</body>

</html>

Save this file as "massmailer.php" then when you load the page in your browser, enter the users one per line in the format

name|email
name|email

So its the users name then the "|" symbol followed by the email, one per line....

Enjoy!
 
Looking for a working PHP mailer. Please don't respond or PM me if you rarely check your messages. I have been dealing with two people that don't respond for days. Willing to pay up to $40.00.


thanks

I use phplist**com for my mass mailing. Its an open source php based mass mailer.
 
Status
Not open for further replies.
Back
Top