If statements inside Mail 2
-
Hello team,
I’m trying to edit Mail 2 manually with if statements. I have an Option tag [salutation](Sir, Madam) (in German Language – [anrede] (Herr, Frau). So, in Mail 2 template I have to write 2 different texts.
In my case:if ([anrede] = Herr){ <p>Sehr geehrter Herr</p> } else if([anrede] = Frau){ <p>Sehr geehrte Frau</p> }How can I implement this code inside Mail 2? Is it possible to write Php code or Javascript inside Mail 2?
Thank you in advance,
Besart Haziri
The topic ‘If statements inside Mail 2’ is closed to new replies.