eda-mandrill

1.0.3 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i eda-mandrill

Weekly Downloads

7

Version

1.0.3

License

ISC

Last publish

Collaborators

  • eda