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

Added support for sending emails headers along with a message. #423

Closed mnsn closed 2 years ago

mnsn commented 3 years ago

Added support for sending email headers along with a message. For instance, one usage is to add unsubscribe-link header which is one of the ways to avoid being tagged as spam and making unsubscribing from the mailing list easier. It's described with more details in this link

niftylettuce commented 3 years ago

Can you add tests? And also run npm test after too to make sure linting and all is fixed?

niftylettuce commented 2 years ago

See previous comment