maryclare
11-29-2011, 08:03 PM
Hello All,
I am new here. I am trying to include a link in an email I send out giving the recepients the ability to opt out of the distribution list.
From what I have read, I have created a file on the server called mysite.com/unsubscribe.php.
The unsubscribe.php file contains:
<?php
mail("mary@mydomain.com","unsubscribe", $_POST['email']);
?>
When someone clicks on the link from an email, I get the unsubscribe email from the server, but it does not contain the email address it is coming from.
Any suggestions?
I am new here. I am trying to include a link in an email I send out giving the recepients the ability to opt out of the distribution list.
From what I have read, I have created a file on the server called mysite.com/unsubscribe.php.
The unsubscribe.php file contains:
<?php
mail("mary@mydomain.com","unsubscribe", $_POST['email']);
?>
When someone clicks on the link from an email, I get the unsubscribe email from the server, but it does not contain the email address it is coming from.
Any suggestions?