crontab-ui/config/mailconfig.js

23 lines
745 B
JavaScript
Raw Normal View History

2016-12-13 08:36:13 +00:00
/*jshint esversion: 6*/
// refer nodemailer for more info
2016-12-14 13:43:44 +00:00
var transporterStr = 'smtps://user%40gmail.com:password@smtp.gmail.com';
2016-12-13 08:36:13 +00:00
var mailOptions = {
from: '"Fred Foo 👥" <foo@blurdybloop.com>', // sender address
to: 'bar@blurdybloop.com, baz@blurdybloop.com', // list of receivers
2016-12-14 13:43:44 +00:00
subject: 'Job Test#21 Executed ✔', // Subject line
text: 'Test#21 results attached 🐴', // plaintext body
html: '<b>Test#21 🐴</b> results attached' // html body
2016-12-13 08:36:13 +00:00
};
if (typeof window === 'undefined') {
exports.transporterStr = transporterStr;
exports.mailOptions = mailOptions;
} else {
if (!window.config)
window.config = {};
window.config.transporterStr = transporterStr;
window.config.mailOptions = mailOptions;
}