Skip to content

Instantly share code, notes, and snippets.

@kostimarko
Created October 23, 2019 22:35
Show Gist options
  • Save kostimarko/2216ee5be344f05a517dd4f98678fa9b to your computer and use it in GitHub Desktop.
Save kostimarko/2216ee5be344f05a517dd4f98678fa9b to your computer and use it in GitHub Desktop.
const now = moment().format("YYYYMMDD");
const mailList = [
"yourEmailAddress@gmail.com"
];
const transporter = nodemailer.createTransport({
service: "gmail",
auth: {
user: "********",
pass: "********"
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment