Hey all, could use some syntax help with an email ...
# general
a
Hey all, could use some syntax help with an email template, please. This template is to email a transaction. I'm trying to say IF the contact isn't empty, use the contact name, if the company name isn't empty, use the company name...otherwise, use the customer's First name. When i put this in my email template, it sends an email with this actual code in it...it doesn't execute the if statement. What am I missing? Hi <#if contact.entityId?has_content>${contact.entityId}<#elseif entity.entityId?has_content>${entity.entityId}#else${entity.firstname}</#if> Please see attached Purchase Order. Please confirm Email. Thank you, NOTE: All shipments must be in full cases. Your company must notify us about any case packing differences prior to shipment. If there is a difference between the PO and your shipment, this will delay payment. Thank you for your cooperation.