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

/sails-hook-sendgrid/

    Package Sidebar

    Install

    npm i sails-hook-sendgrid

    Weekly Downloads

    4

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • kos