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

Expose the previewEmail() function or provide other triggers #374

Closed dsl101 closed 5 years ago

dsl101 commented 5 years ago

I'm using mailgun to actually send mail, so am using the renderAll() method to actually generate the content I need and never calling send(). But I'd like to be able to preview messages easily too. Could that method be exposed, or triggered by the render functions?

niftylettuce commented 5 years ago

PR welcome!