View Full Version : Modify to stop send email

06-18-2006, 08:53 PM
I have this script I use and it sends to the member and and to me I want to stop the sendint to the member as I want to approve there site before they get the email that it sends after i approve it

I can not figure it what to remove to stop the one they get BUT keep the one I get

THXS Steve

//////////////////// SEND MAIL TO MEMBER/ bcc to admin ////////////////
//Gets member info
$rs0=mysql_fetch_array(mysql_query("select * from reciprocal_links where id=" . $id));

$rs1=mysql_fetch_array(mysql_query("select * from sbreciprocal_cats where id=" . $rs0["cid"]));

//Reads email to be sent
$sql = "SELECT * FROM reciprocal_mails where id=1" ;

if ( $rs=mysql_fetch_array($rs_query) )
$from =$rs["fromid"];
$to = $rs0["email"];
$subject =$rs["subject"];
$header="From:" . $from . "\r\n" ."Reply-To:". $from ;
$body=str_replace("<category>", $category,str_replace("<email>", $rs0["email"],str_replace("<url>", $rs0["link"],str_replace("<reciprocallink>", $rs0["reciprocallink"],str_replace("<title>", $rs0["title"],str_replace("<urldescription>", $rs0["description"], $rs["mail"]) ))))) ;
// Reads Site config//////////////////
$rs_query=mysql_query("Select * from reciprocal_config" );
$to1 = $rs_a["email"];

mail("cc:" . $subject,$body,$header);

06-18-2006, 10:32 PM
which table has there email, and which table has yours?

06-18-2006, 10:59 PM
I think this is where the script get the info of the member

But where is the send line

//Gets member info
$rs0=mysql_fetch_array(mysql_query("select * from reciprocal_links where id=" . $id));

06-18-2006, 11:55 PM
then it looks like this would be the send line for that.

test it and see.

06-19-2006, 12:07 AM
Thxs Very MUCH :thumbsup:

I did not see that line

Brain dead today:confused: