Using dynamic HTML templates in Meteor emails

后端 未结 4 1484
星月不相逢
星月不相逢 2020-12-14 09:03

Is there a way to render a Meteor template as the HTML body of an email?

For example if I want to show collection data or generate dynamic links inside that email.

4条回答
  •  长情又很酷
    2020-12-14 09:27

    As @pahan mentioned a server side rendering package might be your best bet. Here is a good tutorial that I used: https://themeteorchef.com/tutorials/using-the-email-package

提交回复
热议问题