Forum Discussion

djondinium's avatar
2 years ago

How to pull custom content into emails?

Hi, I saw in other threads that this is a possibility and by looking at methods and properties that go with emails, it should be, but I cannot seem to make it work. I tried using this ${community.s...
  • SyedSa's avatar
    2 years ago

    Hi djondinium,

    community.settings.name.get won't work because that's a freemarker object; email templates use velocity, and there are different objects available for each email template, which is what the methods/properties in the studio are showing.

    Looking at the @mention email template documentation (in-studio), it looks like 
    ${notification.message.board.settings.name.get("settingName")} might work.