voilab-send
Transactional mailer
Basic usage
var mailer = new adapter: 'some-adapter' adapterConfig: someData: 'someConfig' ; mailer ; mailer ;
Sendgrid V4
var mailer = new adapter: 'sendgrid-v4' adapterConfig: apikey: 'your-api-key' globalDataSurround: '-' ;
Note that you'll need to add this dependency into your own package.json
:
sendgrid
version5.*
Sparkpost V2
var mailer = new adapter: 'sparkpost-v2' adapterConfig: apikey: 'your-api-key' ;
Note that you'll need to add these dependencies into your own package.json
:
sparkpost
version2.*