Skip to content

Commit

Permalink
Merge pull request #147 from w3c/tripu/nodemailer
Browse files Browse the repository at this point in the history
Fix nodemailer in production
  • Loading branch information
tripu authored Jan 24, 2019
2 parents 7002104 + 7438957 commit fc19443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,6 @@ module.exports.app = app;

if (require.main === module) {
// FIXME abstract into configuration the mailer parameters
var transporter = nodemailer.createTransport({sendmail: true, tls: {rejectUnauthorized: false}});
var transporter = nodemailer.createTransport({sendmail: true, path: '/usr/sbin/sendmail', tls: {rejectUnauthorized: false}});
run(require("./config.json"), transporter);
}

0 comments on commit fc19443

Please sign in to comment.