0.1.0 • Published 5 years ago
@phoenix-labs/mail-service v0.1.0
mail-service
Common smtp mail abstraction
Environment variables required
- NODE_ENV - use temporary ethereal.email SMTP transport on all environments other than "production".
Config
Ex.
// Sample config
***All nodemailer options supported***
{
host: "smtp.ethereal.email",
port: 587,
secure: false,
auth: { user: testAccount.user, pass: testAccount.pass },
}
- host: email host
- port: email host port
- secure: use encrypted mail transport
- auth: credentials for smtp user
0.1.0
5 years ago