siefkenj / MailMergeP

Mail Merge P add-on for Thunderbird
GNU General Public License v3.0
16 stars 3 forks source link

nested variables #2

Closed gamgamstylep closed 4 years ago

gamgamstylep commented 4 years ago

Question to Nested Variables Variables can be nested. For example: To create individual emails only for your premium customers, you can add something like this in the To field: {{Premium|x|{{Email}}}}

Do I understand this right: In the table "Premium" those lines with a "x" in it will get the email?

Thank you very much

siefkenj commented 4 years ago

Are you asking about the original MailMerge, or MailMergeP (which this is a repository for)? MailMergeP uses the nunjucks templating engine. You can read about how to do nested variables here: https://mozilla.github.io/nunjucks/

gamgamstylep commented 4 years ago

sorry was for the original MailMerge.