I have lead, member and agreement objects, member has look-up to lead and agreement has Master-Detail(Partner) field.
I created visualforce email template to display fields information from agreement into it and send it to the partner.
Partner has email field with type email, how can I send the agreement email to partner email?
I created email template with VF
<messaging:emailTemplate subject="Agreement"
recipientType="Lead"
relatedToType="Agreement__c">
<messaging:htmlEmailBody >
<p>Dear {!recipient.lastname},</p>
<p>Agreement Content:</p>
<c:pTasks_Component agrId="{!relatedTo.Id}" />
</messaging:htmlEmailBody>
</messaging:emailTemplate>
I created workflow rule on Agreement object Evaluated when a record is created with workflow action, but I can't choose partner email as a recipient.