forwardemail / email-templates

Create, preview (browser/iOS Simulator), and send custom email templates for Node.js. Made for @forwardemail, @ladjs, @cabinjs, @spamscanner, and @breejs.
https://forwardemail.net/docs/send-emails-with-node-js-javascript
MIT License
3.67k stars 337 forks source link

add "deeplink" as template #231

Closed simllll closed 7 years ago

simllll commented 7 years ago

we are using this module heavily for our email and push notificaiton renderings, but needed one additioanl "file" to get rendered to solve all our problems :)

Therefore I added "deeplink" as another possible template like "subject". A great feature request by the way would be to specify as many custom templates as you want to. This would allow a lot of new use cases for this module and doesn't really add any complexity.

let me know what you think about my feature request, or at least about this PR. would be great to see something like this in master :)

simon

niftylettuce commented 7 years ago

See https://github.com/crocodilejs/node-email-templates/commit/3e53ca343fc23faec5165b09cc5af41ad2bcd519 as I've added support for deeplink. Published as v2.7.1. Thanks.

simllll commented 7 years ago

Thanks!

niftylettuce commented 7 years ago

@simllll if you have any requests for future please see #234