Unsubscribe opt-out
Provide prospects an easy way to unsubscribe
Overview
Most companies send out marketing emails to their customers and prospects, and need a way to let them unsubscribe from your email messages. This Apex code will to process unsubscribe requests from the email recipients, and update the email opt-out flag
Manage email opt-out's
Let contacts and leads unsubscribe via email
Be CAN-SPAM compliant
Most companies send out marketing emails to their customers and prospects, and need a way to let them unsubscribe from your email messages. This sample code shows how you can write Force.com Email Services to process unsubscribe requests from the email recipients. • The code will search in the subject line for the word “unsubscribe” • If the word is found, all contacts who matches the from Email Address, will be updated with HasOptedOutOfEmail = true • The code will search through the Leads, and update the HasOptedOutOfEmail field to true for the same email addresses • The code then returns true and exist This app is part of the Force™ Collection. You can see it here: https://sforce.co/33fkLT7
Categories
- Business Needs
- Mass Emails
- FeaturesNative AppBuilt exclusively on the Salesforce Platform, ensuring reliability and performance.Lightning ReadyOptimized for Salesforce orgs that use Lightning Ready.Editable CodeThis product is installed as an unmanaged package in your Salesforce org and its code is available to view and modify.
- Native AppLightning ReadyEditable Code