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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    1
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i eda-mandrill

Weekly Downloads

1

Version

1.0.3

License

ISC

Last publish

Collaborators

  • eda