Help & Support
Elevate Your Agents with AgentExchange Solutions
Have Questions?
Unsubscribe opt-out
Provide prospects an easy way to unsubscribe
- Business Need
- Mass Emails
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
Compatibility
- Salesforce Editions
- EnterpriseUnlimitedForce.comDeveloper
App Details
- Version
- Unsubscribe opt-out/1.0.2 1.2.0
- Listed On
- 03/03/2008
- Latest Release
- 03/04/2022
- Supported 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
- Package ContentsIf this app is a managed package, the custom apps, tabs, and objects that it contains don't count against your Salesforce allocations. If this app is not a managed package, allocations apply. Learn More in Help
- Custom Objects: 0Custom Tabs: 0Custom Apps: 0
- Lightning Components
- Global: 0App Builder: 0Community Builder: 0
- Languages
- English
Security
Additional Details
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
Need help?
Salesforce Labs
San Francisco, CA, USA