nodejs-email-service
Version:
This service helps to send emails using nodejs. Send multiple different types of emails with their corressponding templates all with one functions.
17 lines (15 loc) • 422 B
JavaScript
require("dotenv").config();
const nodejs_email_service = require('.');
function default_email_service_mock(props = {}, parameters = {}) {
return new nodejs_email_service(
{
host: 'smtp.mailgun.org',
service: 'Mailgun',
user: process.env.MAILGUN_USERNAME,
pass: process.env.MAILGUN_PASSWORD,
}
)
}
module.exports = {
default_email_service_mock
}