Created
July 16, 2014 16:10
-
-
Save tdharris/55b5e883b99051b5807e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var nodemailer = require('nodemailer'); | |
exports.init = function (engineer, password) { | |
this.engineer = engineer; | |
this.password = password; | |
} | |
// Transport for tasks | |
exports.novell = nodemailer.createTransport("SMTP", { | |
host: "xgate.provo.novell.com", | |
secureConnection: false, | |
tls: { | |
ciphers:'SSLv3' | |
}, | |
port: 25, | |
auth: { | |
user: this.engineer, | |
pass: this.password | |
} | |
}); | |
// Transport for report | |
exports.notify = nodemailer.createTransport("Direct"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment