Last active
June 10, 2016 17:59
-
-
Save cadecairos/f6999c51f6cbe81d7fd8500847dc046d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
const hatchet = require('hatchet'); | |
const sessionData = require('./session_data.json'); | |
sessionData.forEach((session) => { | |
hatchet.send("mozfest_session_proposal_2016", session, (err, response) => { | |
if (err) { | |
console.log("Failed to send proposal confirmation email.") | |
} else { | |
console.log(`Proposal confirmation email successfully sent to ${session.email}!`) | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment