@fabrix/generics-mandrill
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

generics-mandrill

Gitter NPM version Build Status Test Coverage Dependency Status Follow @FabrixApp on Twitter

Generic Email Provider for Mandrillapp.com supplied by Spool-generics.

Looking for Spool-Generics?

Install

$ npm install --save @fabrix/generics-mandrill

Configure

// config/generics.ts
export const generics = {
  // make the key mandrill, alternatively make the key email_provider to be the default email provider
  mandrill: {
      adapter: require('@fabrix/generic-mandrill').MandrillGeneric,
      config: {
          // Mandrill API key
          key: process.env.MANDRILL_APIKEY,
          // Host name for sending eg. cali-style.com
          host: process.env.MANDRILL_HOST,
          // Protocol for sending eg. https or http
          protocol: process.env.MANDRILL_PROTOCOL,
          // The ReplyTo field in Mandrill templates
          reply_to: process.env.MANDRILL_REPLY_TO
      }
  }
}

Package Sidebar

Install

npm i @fabrix/generics-mandrill

Homepage

fabrix.app

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

10.2 kB

Total Files

11

Last publish

Collaborators

  • scottbwyatt