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.
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.
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")"
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
You are welcome. Don't forget to mark a post as the correct answer. This way the forum stays nice and clean.
is working on a reply...