Support » Plugin: Knews Multilingual Newsletters » Unsuscription outside the email message

  • hectorasencio


    Hi Carles!

    I want provide my suscriptors a way to unsuscribe directly on the web via form, without clicking email’s link. Is it possible?

    I was trying to figure out by my self how to do this, but I supose that the link contains a token identifying user’s adress and I don’t know how implement a form that generate that token when someone types his/her email adress…


Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author creverter


    You’re right… there are two ways to do this:

    1) Asking a password in subscription time, then a login with account administration…

    2) A unsubscribe form in the website with email input, and then submit a e-mail with real unsubscribe link…

    The first option is a hard work, the second not…




    Hi Carles,
    thanks for response!

    I’m looking to implement the second option you propose, but my doubt is how to generate that specific user token…

    I’m not much experienced on PHP but I figure out that you have a function/method for this pourpose, can you guide me where to find it and if have any dependecies?

    Promise to post the results in this post for everybody sharing.


    Plugin Author creverter


    Hello Hector.

    Look the confirmation way, essentially is the same… you will find the code into the knews.php main file, in this functions:


    The token is generated in the first function and stored in the subscribers table DB…




    Thanks a lot Carles!

    I’m about go on holidays (oeoe!) but I’will play around with this functions when back at work.

    Best regards!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unsuscription outside the email message’ is closed to new replies.