Stopping PHPlist from sending a unsubscribe confirmation

We love the open source mail list management software PHPlist- although it’s interface is horribly confusing.

One thing we don’t love is it’s insistence on sending an “Unsubscribe confirmation” when you click the link to remove from the list. We get it- you don’t want e-mail from us anymore, no need to send one more.

To do this- comment out lines 658 and 659 of index.php in PHPList in version 2.10.7

the code should look something like this:

//  sendMail($email, getConfig(“unsubscribesubject”), stripslashes($unsubscribemessage), system_messageheaders($email));
//  $reason = $_POST["unsubscribereason"] ? “Reason given:\n”.stripslashes($_POST["unsubscribereason"]):”No Reason given”;

That should solve your problem.

This entry was posted on Tuesday, July 7th, 2009 at 11:14 am and is filed under tutorials. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply