Email Scripting Troubleshooting
Hi Community!
I am (unsuccessfully) trying to create an email script that will populate the From & Reply-To Email Addresses for an upcoming campaign. The logic I am attempting to use is that if the lead is SFDC Type = Contact, it would populate a hard-coded email address, otherwise, it will populate the Lead Owner's Email Address.
This is what I have so far:
#if ( ${lead.SFDC_Type} == "Contact")
#else
${lead.Lead_Owner_Email_Address}
#end
What I am finding when I test this script is that my email address does show up for the SFDC Contacts, but the SFDC Leads isn't returning any values when I look at the email preview.

What am I missing in this code?
