You need to sign in to do that
Don't have an account?
AnonTestQuest
Array of emails in batch question
I have a batch that sends out an email but it needs to send the email to only the people that fit the criteria created and each email contains a link specific to that person (a record they own). How should I do this with an array?
I think you can use apprach that is discussed at http://www.sfdc99.com/2014/03/01/sending-emails-using-apex/. What he is doing is
Messaging.SingleEmailMessage