";; mail($emailto, "$subject", "$content", $headers); }//end of while }//end of if result }//end of if member //if he is a member of direct email table if($member=='N') { $sql="select * from directemail where emailid='$email'"; $result=mysql_db_query($DATABASE,$sql); if(mysql_num_rows($result)) { while($row=mysql_fetch_row($result)) { $update="update directemail set flagunsub='Y' where emailid='$email'"; $resultu=mysql_db_query($DATABASE,$update); $subject="$email has unsubcribed for directemail"; $content="The following member from our Direct mailing database with email ID : $email has unsubscribed."; mail($emailto, "$subject", "$content", $headers); }//end of while }//end of if result }//end of if member header("location:thankyou.php"); exit(); }//end of if submit ?> Unsubscribe Email
 
 
 Click "Unsubcribe"
to unsubscribe from YarnsandFibers mailing list
   
eMail ID :  



 Close Window