mirror of
https://github.com/tjsga/website-2018.git
synced 2025-04-19 18:50:16 -04:00
14 lines
375 B
JavaScript
14 lines
375 B
JavaScript
var credentials = require('./credentials.json');
|
|
const gmailSend = require("../index.js")({
|
|
//const gmailSend = require("gmail-send")({
|
|
user: credentials.user, // "foo@bar.com",
|
|
pass: credentials.pass, //"foobarfoobar",
|
|
to: [
|
|
"foo@bar.com",
|
|
"bar@bar.com",
|
|
"baz@bar.com" // this is picked up quoted
|
|
],
|
|
subject: "Hello world",
|
|
text: "Hello world"
|
|
})();
|