I would like to include simple conditions in a mail template. The documentation says that you can use the same logic as for PDF creation. Nevertheless, the following condition does not work in the template:
{{#ifEqual Person.salutationName 'Mr.'}}
<p>Dear Mr. {Person.lastName}</p>
{{/ifEqual}}
If I enter {Person.salutationName} in the template, I get Mr. correctly. The problem must therefore lie with the #ifEqual clause. But why? It must be a standard feature of a CRM to be able to send personalized emails.
Any help really appreciated!
Andreas
{{#ifEqual Person.salutationName 'Mr.'}}
<p>Dear Mr. {Person.lastName}</p>
{{/ifEqual}}
If I enter {Person.salutationName} in the template, I get Mr. correctly. The problem must therefore lie with the #ifEqual clause. But why? It must be a standard feature of a CRM to be able to send personalized emails.
Any help really appreciated!
Andreas
Comment