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.66k stars 339 forks source link

relativeTo template folder #364

Closed gibson closed 5 years ago

gibson commented 5 years ago

How can a set relativeTo: to current template folder, because every template can use own images

Screenshot 2019-06-19 at 16 31 34

niftylettuce commented 5 years ago

I would suggest just doing multiple instances of new Email, or you could submit a PR.