You need to sign in to do that
Don't have an account?
Demirali
Send email to contacts in related list of an object
Hello to all.
I have an object called ABC.
This ABC has one child called BOOK__c
Also there is another object Pencil__c which has a lookup to ABC and has a related list of contacts.
Whenever BOOK__c record is checked completed (BOOK.Completed__c = True), I want to send an email to all Contacts in related list of Pencil__c of BOOK__c's parent ABC.
How can I figure this out?
Hi,
Here is the sample code for your requirement. here at Last i founded set<Id> sContactID to which you have to send email.
write logic for sendEmail for sContactID
Important :
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Thanks,
Hitesh Patel
SFDC Certified Developer & Administrator
All Answers
Hi,
Here is the sample code for your requirement. here at Last i founded set<Id> sContactID to which you have to send email.
write logic for sendEmail for sContactID
Important :
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Thanks,
Hitesh Patel
SFDC Certified Developer & Administrator
Thnak you for your quick reply.
I don't have a knowledge of deploying codes to SF environment. Can you help me out? If you have time, we may also have a conversation over skype?
Thanks,