Commit f65653c3 authored by Nick Poulden's avatar Nick Poulden
Browse files

Sendmail for comment subscriptions

parent 4acb9722
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -121,9 +121,7 @@ exports.findComment = function(req, res, next) {

exports.sendEmailUpdates = function(comment) {

    var mailTransport = nodemailer.createTransport("SMTP",{
        service: "sendmail"
    });
    var mailTransport = nodemailer.createTransport("Sendmail", "/usr/bin/sendmail");

    var sendSubscriptionEmail = function(emails) {