nodemailer-provider
v0.1.0
Published
Nodemailer auto SMTP config provider from a list of emails to avoid services like sendgrid etc
Downloads
5
Readme
NodeMailer provider - work in progress
Along with Nodemailer npm package use this to avoid paid services like Sendgrid, etc...
Input:
- Function callback which returns an array of object consisting of the following
- nodemailer config
- type (default "no-reply")
- database config
- type (mysql)
- table or schema (default: 'emailer')
Configuration
Database schema or structure
Mongo
- sender email
- type (default "no-reply")
- config STRING (nodemailer config stringified JSON)
- sent_count
- limit
- time_limit (String) time string in miliseconds
Mysql
- sender email
- type (default "no-reply")
- config STRING (nodemailer config stringified JSON)
- sent_count
- limit
- time_limit (String) time string in miliseconds