function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vivek ravivivek ravi 

how to give the set traget object id in mass mailing method

Hi guys my requirment is to send the email the notes and attachment which i have in the custom object to the email in the particular account contacts
in this case how i can give the target object id string
how to give the query for fetching the accounts contact in the setTarget Object Id ()
can any one give me some examles  code for this
Ramu_SFDCRamu_SFDC
The following post has an example code on sending mass emails. Hope this helps

http://www.mindfiresolutions.com/Sending-Mass-Email-through-Apex-Controllers-2344.php