-
How can I test Messaging.MassEmailMessage with checking targetobjectids in Salesforce?
We have some User with UserRole. I need to verify that the email has been sent to the user with the role 'TestRole'. How can I do that?
I try:List<Messaging.MassEmailMessage.targetobjectids> emails = [SELECT Id FROM User
WHERE Id =: createUser('TestRole').Id];
Log In to reply.
Popular Salesforce Blogs
Salesforce Interview Questions – Part 1
1. Give me an example of one admin part and one development part which is used in the current organisation. 2. What is the difference between…
Omni-сhannel in Salesforce: Setting the Standard for Customer Service
Modern consumers demand convenience, connecting with companies from anywhere using smartphones or laptops. The true advantage emerges when customers have multiple options tailored to their…
Keynote Highlights of Dreamforce 2019
It’s the Monday after the world’s largest software conference…Dreamforce! DemandBlue’s team of Customer Success Managers spent the last week seeping in Salesforce’s conference full of…
Popular Salesforce Videos
Salesforce Object Query Language (SOQL) Crash Course | The Complete Hands-on Tutorials
SOQL in Salesforce is used to retrieve data from the Salesforce database for specific information. This video covers everything you need to know as a…
Topics to Master to Crack Your Salesforce Administrator Certification Exam
If you're preparing for your Salesforce Administrator Certification and wondering there's a lot that you need to cover from the study material provided by Salesforce.…
Salesforce Data Archive along with Files
This video tries to explain the way true archive of records as well as the files in Salesforce. Archive files along with the DataArchiva, We…