
Originally Posted by
jmurrayhead
No, not really.
Hmm...OK...I'll try a hardcoded example...Using the example above, you might have the following code when you're building the emails to send.
Inside the template, you might have:-
Code:
Dear <<_Salutation_>>
And then you use this template to build an email for each contact. You want <<_Salutation_>> to be replaced with a property from each contact, but only if they have a title. So you would hard code something like:-
Code:
if(string.IsNullOrEmpty(contact.title))
{
Replace("<<_Salutation_>>","Generic Title");
}else{
Replace("<<_Salutation_>>",contact.title + " " + contact.lastname);
}
It is this conditional I want the user to be able to build themself.
Making any more sense now?
Bookmarks