-
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
An Introduction to Lightning Web Components | Salesforce Lightning
Lightning web components are custom HTML components fabricated using HTML and standard JavaScript. Lightning web components and Aura components can coexist and interoperate on a…
How to Call Server-Side Apex Controller Action from Client-Side Controller in Lightning Component?
Server-Side Controller method can be invoked by the client-side controller by using the value provider of c. Client-side action can also be invoked by using…
B2B Commerce - Move The Needle With Salesforce
Market dynamics are rapidly evolving. Manufacturers, wholesalers, and distributors need a scalable and intelligent solution to meet buyer expectations and seize new opportunities. Forward-thinking B2B brands…
Popular Salesforce Videos
Skills for Salesforce Field Service | Optimize Customer Service for Businesses | Salesforce Webinar
One way to optimize customer service operations is by having the right technician for the right job. How? Skills for Salesforce Field Service is the…
Customize Salesforce in a Flash with Lightning
This video shows you how to use Lightning App Builder to make page customizations without any code. This enables admins to tailor Lightning Experience for…
Security in Salesforce | Learn About the Security Levels in Salesforce
This "???????? ?? ??????????" video by Edureka will help you understand the different levels of security in Salesforce. It will also talk about some of…