+ Start a Discussion
Brian Oconnell 23Brian Oconnell 23 

VF Email Template - error message

I'm quite familiar with this error message and I know it has nothing to do with the body tags, which are correct.  Can someone please help me troubleshoot this simple VF email template with related list? Do I need something else surrounding the apex repeat tags?
Thank you
 
<messaging:emailTemplate subject="Hey" recipientType="Contact" relatedToType="Bsvp_Order__c">
<messaging:htmlEmailBody>
    <html>
        <body>
        Account Name: {!relatedTo.Account__c}</br>
        Order Name: {!relatedTo.Name}<br/>
        <apex:repeat var="ix" value="{!relatedTo.Bsvp_OLIs__r}">
            LI Name: {!ix.Name}<br/>
        </apex:repeat>
        </body>
    </html>
</messaging:htmlEmailBody>
</messaging:emailTemplate>