This year I started learning about Git. I also started watching an absurdly funny, but often offensive, and lowbrow comedy show I highly recommend called Future Man. In Future man, a Janitor must travel through time to prevent the apocalypse. Because I was learning Git at the time, and because the mind works in mysterious ways, I got to thinking… What if time travel was handled like Git source control? I know nothing concrete or scientific about time travel and a little about Git so please bear with me… It’s the end of 2018 and I want to end the year with some light-hearted SciFi fun.
Follow this tutorial to include an unsubscribe link in promotional emails sent from Salesforce. My last post gives you some reasons for considering this feature.
When the recipient clicks to unsubscribe, a flow will look for ALL CONTACTS (not leads) who have this as their preferred email address (if you’re in NPSP) or in the Email field. All contacts who meet that requirement will be marked “Email Opt Out.” The email address owner will receive one confirmation email immediately.
The benefits of sending email directly from Salesforce are that you can automate when they go out, you can send up to 5,000 emails per day, and email templates are really simple to set up.
But any time you’re emailing groups of people, you should be mindful of the requirements of the CAN-SPAM law (which I just learned isn’t called the “Canned Spam” law). CAN-SPAM requires that emails, in certain scenarios, provide an option for the recipient to unsubscribe.
I am writing to you on my personal blog as a puzzle-solving Salesforce admin, not a Salesforce employee. Your decisions around unsubscribe options can have legal implications for your organization so please do not take anything from this post as legal guidance or means to make your communications legally compliant. That decision is between you and your lawyers.
Picture this… it’s already 9pm on deployment night (Friday night of course). You’ve pushed to three environments already and spent at least three hours resolving unit test failures. If all your tests pass this time, you can go home and enjoy a well deserved hot cocoa….
THEN THIS HAPPENS:
Someone else deployed a Validation Rule that is causing almost half your unit tests to fail, effectively ruining your weekend and destroying all your dreams. Has this ever happened to you? Well you’re not alone…