Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/konstantinzolotarev/sails-hook-sendgrid

Sails.js SendGrid hook
https://github.com/konstantinzolotarev/sails-hook-sendgrid

Last synced: about 2 months ago
JSON representation

Sails.js SendGrid hook

Awesome Lists containing this project

README

        

# SendGrid hook for Sails.js

## Configuration
Configuration section for hook.

File name: `config/sendgrid.js`

```javascript

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