sails-hook-sendgrid

    1.0.3 • Public • Published

    SendGrid hook for Sails.js

    Configuration

    Configuration section for hook.

    File name: config/sendgrid.js

     
    module.exports.sendgrid = {
      /**
       * API Key form Sendgrid
       *
       * If apiKey used no apiUser/apiPassword needed
       * @type {String} 
       */
      apiKey: 'someSendGridApiKey'
     
      /**
       * Your SendGrid username.
       * You could use apiKey or apiUser + apiPassword
       * @type {String} 
       */
      apiUser: 'username',
     
      /**
       * SendGrid password
       *
       * No need if apiKey used
       * @type {String} 
       */
      apiPassword: 'pasword'
    };

    Install

    npm i sails-hook-sendgrid

    DownloadsWeekly Downloads

    9

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • kos