I'm trying to create a dynamic sender profile where the from name and from email change if a value is present in a specific field of the data extension. I want the Lead First Name value and Lead Last Name values to appear. I'm trying to keep all the logic in the sender profile.
%%=IIF(EMPTY(AttributeValue("X")), "Bill", AttributeValue("LeadFirstName") AttributeValue("LeadLastName"))=%%
Not sure why, but doing the test, the script shows up as the sender and isn't resolving.