AnsweredAssumed Answered

Email Script Causing Error

Question asked by f6d7358f67ec1545dde78f6c6da60292a474ecf2 on Jun 5, 2015
Latest reply on Nov 3, 2015 by Stijn Heijthuijsen

I have the following in an Email Script:

#foreach($opportunity in $OpportunityList)

    #if($opportunity.o_opportunity_type == "Home Loan")


        <p>How Old: $date.whenIs( $opportunity.o_funded )</p>

        <p class="copy" style="margin: 0px;">$opportunity.o_owner_first_name $opportunity.o_owner_last_name</p>

        <p class="copy" style="margin: 0px;">NMLS #$opportunity.o_owner_nmls</p>

        <p class="copy" style="margin: 0px;">$opportunity.o_owner_phone ext. $opportunity.o_owner_extension</p>

        <p class="copy" style="margin: 0px;">${lead.lo_email}</p>






When I add this token to an email and try to Send Sample Email to test it I get the following error message:

An error occurred when procesing the email Rendered_Email_Velocity_Error_Area_?!

String index out of range: 19625



Has anyone experienced this and know what might be causing this?  We are using other similar email scripts that work fine and not sure why this one won't work.  Any help would be appreciated!  Thanks!