- Updates to mail handling
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const config = require('../config.js');
|
||||
const nodemailer = require('nodemailer');
|
||||
|
||||
const from = `"${config.mail.from.name}" <${config.mail.from.address}>`;
|
||||
const from = `${config.mail.from.name} <${config.mail.from.address}>`;
|
||||
const transporter = nodemailer.createTransport(config.mail.smtp);
|
||||
|
||||
module.exports = (email, options, callback) => {
|
||||
|
||||
Reference in New Issue
Block a user