Skip to content

Instantly share code, notes, and snippets.

@goravseth
Created April 10, 2017 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goravseth/5ade3f9390b31c68152ebbd235dba5ee to your computer and use it in GitHub Desktop.
Save goravseth/5ade3f9390b31c68152ebbd235dba5ee to your computer and use it in GitHub Desktop.
<messaging:emailTemplate subject="vol jobs w shifts" recipientType="Contact" relatedToType="GW_Volunteers__Volunteer_Job__c">
<messaging:HTMLEmailBody>
Dear {!recipient.FirstName},
Here is a list of shifts
<apex:repeat value="{!relatedTo.GW_Volunteers__Volunteer_Hours__r}" var="vh">
<tr>
<th>Job</th>
<th>Start Date</th>
</tr>
<tr>
<td>{!vh.GW_Volunteers__Volunteer_Job__r.Name}
</td>
<td>{!vh.GW_Volunteers__Start_Date__c}
</td>
</tr>
</apex:repeat>
</messaging:HTMLEmailBody>
</messaging:emailTemplate>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment