Skip to main content
Inspiring
December 4, 2018
Question

updating my database by email unsubscribe link

  • December 4, 2018
  • 1 reply
  • 284 views

I'm using Adobe CF 2016 on windows. I use cfmail to send emails but I'm looking for a tutorial on how I can update my database from an email subscriber  who wants to unsubscribe from my newsletter?

thanks.

    This topic has been closed for replies.

    1 reply

    WolfShade
    Legend
    December 5, 2018

    Hello, College Kid​, welcome to Adobe forums.

    What you seek is simple enough, as long as each subscribed user has a unique ID in the database.

    Have the user click an unsubscribe link that will send an email to that user that contains a link that has their unique ID as part of the URL parameters.  When that link is clicked, the resulting page will ask the user to confirm that they want to unsubscribe.  When the user clicks the confirmation button/link, then that will trigger an action page that will update the database to reflect the removal.

    HTH,

    ^ _ ^