15 lines
290 B
JavaScript
15 lines
290 B
JavaScript
var smtpTransport = require('nodemailer-smtp-transport');
|
|
|
|
// you can use Gmail or any other nodemailer transport
|
|
var auth = {
|
|
host: 'localhost',
|
|
port: 25,
|
|
ignoreTLS: true,
|
|
};
|
|
//
|
|
//
|
|
module.exports = {
|
|
confirmEmailHost: 'https://insight.bitpay.com',
|
|
email: smtpTransport(auth),
|
|
};
|