parse-server-mailgun-adapter

Mailgun adapter for Parse server

Usage no npm install needed!

<script type="module">
  import parseServerMailgunAdapter from 'https://cdn.skypack.dev/parse-server-mailgun-adapter';
</script>

README

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>'
  }
},