Replies: 1 comment 2 replies
-
Editing templates in the dashboard isn't supported. From what you are saying, using postmark's native integration is a better solution.
To configure it got to settings -> SMTP and select "postmark" at the top. Then enter the sender you want to use and your API token in the password.
From the docs: In postmark you need to create three templates for each locale with the following alias:
For instance:
You don't, you can use the variables mentioned in the documentation. The variables will automatically be sent by the Auth service when needed. In case of doubt you can start with the templates we have in our opensource repo and modify from there (keep in mind the templates we have in our repo are not for postmark so you may need to adapt accordingly): https://github.com/nhost/hasura-auth/tree/main/email-templates/en |
Beta Was this translation helpful? Give feedback.
-
We don't use the CLI for various reasons and don't want to, and just use the Nhost dashboard. We cannot fix the email templates for auth? The docs (https://docs.nhost.io/guides/auth/email-templates) say, to connect a github repo, but then when we click on the link to connect a github repo, there are no directions. Anyway, why would we connect a github repo, if we are managing everything thru the dashboard. There needs to be a way to modify the email templates in the dashboard, or else we can't use the Auth. Please let us know how to do modify templates without having to set up a CLI locally. And actually, we use postmark for emails, so want to use their templates, but the docs are kind of sparse on this topic and it's not clear what exactly to do. How do we set up the integration with postmark? What exact templates are used and how do we pass the variables?
Beta Was this translation helpful? Give feedback.
All reactions