apemanmail
Email sender.
Installation
$ npm install apemanmail --save
Usage
Setup email templates with handlebars like
- mail/templates/password-reset.ja.hbs
- mail/templates/password-reset.en.hbs
and env file like:
env/mail.json
"default": "MOCK": false "production": "SERVICE": "sendgrid" "SENDGRID_API_KEY": "as9d89y0asd8789asd;8ALKjkljc9897" "staging": "SERVICE": "sendgrid" "SENDGRID_API_KEY": "aas98dfu" "development": "MOCK": true "test": "MOCK": true
then,
'use strict' const apemanmail = let mail = mail
License
This software is released under the MIT License.