Skip to content

Proposal: allow environment variable substitution in mail templates #865

Closed Answered by ganigeorgiev
benallfree asked this question in Q&A
Discussion options

You must be logged in to vote

Hm, I'll have to think a little more on this before adding it to the roadmap since we'll have to change how the placeholders are resolved (currently we have a fixed set of placeholders that we just replace in the mail template string, but with the dynamic placeholders we'll have to extract them first from the mail template and then replace them with the os.Getenv value). Additionally I have some other plans for the mail templates in relation to #593, but that will be handled after the v0.8 release and the future migration flow improvements.

For now, It is safe to change the APP_URL to your frontend address because this field is currently used only in the mail templates (in future I'll con…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by benallfree
Comment options

You must be logged in to vote
1 reply
@ganigeorgiev
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants