I am trying to create a custom send email button on a custom object called Disease__c. I have patients linked to the disease, where disease is the Master in the master-detail relationship.
Disease__c (Master) ..... Patient__c (Detail) .... Contact (Lookup)
The email button should go on the Disease__c page and when I click the button, I want to send an email (a predefined template) to all patients linked to the disease. I will not need to edit this template.
I have looked at this: https://success.salesforce.com/answers?id=90630000000goIfAAI and it seems to be what I am looking for, however I cannot get it to work, probably because I need to get the correct value for
I will also need to populate the email with all my patients linked to the disease.
Any ideas on how to go about this? Tia.