+ 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
The following post has an example code on sending mass emails. Hope this helps