You need to sign in to do that
Don't have an account?
idiris Abdukhamitov 1
I have a method that send mass Email. So how can I test it and be sure that its sending exact number of email what I want?
Method:
list<Id> contactIds
Messaging.MassEmailMessage GG = new Messaging.MassEmailMessage();
GG.setTemplateId(emailtemplate1.Id);
GG.setTargetObjectIds(contactIds); Messaging.sendEmail(new Messaging.MassEmailMessage[] { GG });
list<Id> contactIds
Messaging.MassEmailMessage GG = new Messaging.MassEmailMessage();
GG.setTemplateId(emailtemplate1.Id);
GG.setTargetObjectIds(contactIds); Messaging.sendEmail(new Messaging.MassEmailMessage[] { GG });
you need to use
if you need any assistanse, Please let me know!!
Kindly mark my solution as the best answer if it helps you.
Thanks
Mukesh
Hi Idiris,
Please use below code:-
if you need any assistanse, Please let me know!!
Kindly mark my solution as the best answer if it helps you.
Thanks
Mukesh