Skip to content

Instantly share code, notes, and snippets.

@tdharris
Created July 16, 2014 16:10
Show Gist options
  • Save tdharris/55b5e883b99051b5807e to your computer and use it in GitHub Desktop.
Save tdharris/55b5e883b99051b5807e to your computer and use it in GitHub Desktop.
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