parse-server-mailgun-adapter

0.1.0 • Public • Published

parse-server-mailgun-adapter

A mailgun adapter for Parse that allows templating

// Parse option
emailAdapter: {
  module: 'parse-server-mailgun-adapter',
  options: {
    fromAddress: 'signup@some.email',
    domain: 'mailgun domain',
    apiKey: 'mailgun api key',
    params: {}, // Whatever params you want to pass to the template

    // This is the template. You get {{url}} by default, but any params
    // added above is also available inside the template
    html: '<div><h1>Welcome to our service!</h1><b>Confirm by clicking <a href="{{url}}">here</a></div>'
  }
},

Readme

Keywords

none

Package Sidebar

Install

npm i parse-server-mailgun-adapter

Weekly Downloads

0

Version

0.1.0

License

ISC

Last publish

Collaborators

  • christianalfoni