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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    1
  • 1.0.2
    0
  • 1.0.1
    0

Package Sidebar

Install

npm i sails-hook-sendgrid

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • kos