Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to include default email template values #8

Open
Gowiem opened this issue Jan 3, 2018 · 0 comments
Open

Add ability to include default email template values #8

Gowiem opened this issue Jan 3, 2018 · 0 comments

Comments

@Gowiem
Copy link
Contributor

Gowiem commented Jan 3, 2018

When writing the clients for my email-service there are certain ejs template values I would like to include at the service level instead of at the client level. The main example I have right now is the hostname that the emails should link to. For example, a password reset email should link to different hostnames according to environment: localhost for dev, servicename:port for staging, productionhost.com for prod. Across my different environments I want to be able to include these values within the config or as part of a separate API call to the email-service.

Going to take a crack at this now for my project and will post a PR back if this is something you folks would like to roll in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant