Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Preetee Gangoosirdar 56 posts 257 karma points
    Sep 06, 2018 @ 12:57
    Preetee Gangoosirdar
    0

    unsubscribed link in send email with template(razor)

    Hi all, Hope someone can help me out on how to implement an unsubscribed link in email template using "send email with template(razor)" as workflow.

    Do i need to extend another workflow to delete the record ? or create a surface controller that delete the record id from captured the record id in the email template. Thank you for kind advice.

  • Sven Geusens 169 posts 881 karma points c-trib
    Sep 06, 2018 @ 14:52
    Sven Geusens
    0

    It depends on what subscribe list system you are using.

    If its custom, then make a custom surface controller that can read the email from the request query.

    If its mailchimp or another provider, look in their documentation and check how you can unsubscribe someone by using a get url.

    In both cases you will have to put the url with email into the razortemplate href="domain/[email protected]("nameOfEmailField")"

  • Preetee Gangoosirdar 56 posts 257 karma points
    Sep 07, 2018 @ 10:02
    Preetee Gangoosirdar
    0

    Hi Sven,

    Thank you for advice, indeed it is a custom one. It shall implement unsubscribe surface controller. Thank you again for your guide.

    Good day preetee

  • Sven Geusens 169 posts 881 karma points c-trib
    Sep 07, 2018 @ 10:33
    Sven Geusens
    100

    You are welcome. Don't forget to mark a post as the correct answer. This way the forum stays nice and clean.

Please Sign in or register to post replies

Write your reply to:

Draft