-
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
Top Features of Salesforce Lightning That Will Make Your Business Growth Lightening Fast
Are you looking for a Lightning consultant? This post is for you. Change is evident, and there's no other CRM company than Salesforce that excellently…
Problem Solving | Salesforce Project Implementation
'I am happy to help you', I replied to a post on a Salesforce group. A group member posted a roadblock in his recent Salesforce…
Learn All About Salesforce Multi-Factor Authentication
Do you know the reason users are switching to iOS over Android? UI and UX are great. However, security is the primary reason. We live…
Popular Salesforce Videos
Salesforce Developer Training Videos For Beginners | Salesforce Training
This Salesforce Training Video is the video session of a live virtual class conducted by Simplilearn. So if you just go through the video you…
Guided Setup with Salesforce Field Service Administration - Webinar Recording
Salesforce Field Service is a complete, end-to-end solution for customer service in the field. Salesforce Field Service brings together customers, employees, and products on a…
Which Objects are in the Salesforce Sales Cloud and Service Cloud?
Salesforce comes with a large number of standard objects that are integral to Salesforce, but you can also create custom objects. We’ve compiled a list…