Package Exports
- eda-mandrill
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eda-mandrill) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
sendWelcome function
Pass in the following object to send an email
Create .env file and paste in mandrill api key MANDRILL_KEY="" access through process.env.MANDRILL_KEY
var exampleStudent = {
template: templatename
email: student email,
firstname: student firstname,
phase0: phase0 start date,
cohort: cohort name,
bootcamp: bootcamp start date,
graduation: graduation start date,
subject: ,
fromEmail: ,
fromName: ,
replyTo:
}
phase0, bootcamp and graduation in the following format 22 December 2016