I wanted to create an email template that can be used as custom javascript button on custom object.
So i have 2 custom object : Obj1__c & Obj2__c. Neither of these objects are directly related to any standard object. Obj1(master) has m/d relationship with Obj2. Now i have create a custom javascript button on Obj1 to send email.
.toAddresses is set to "{!Obj1__c.Email__c}";
Now I wanted to crate an vf email template to show all realted records (Obj2)data in email template. But not sure about the what values should i select for "recipientType" & "relatedToType"
All the online vf templates examples have standard object as Recipient Type hence confused.
Thanks for your time!