parse-server-sendgrid-email-adapter
v0.1.0
Published
parse server email adapter which uses SendGrid transactional email templates
Downloads
188
Maintainers
Readme
Parse Server Sendgrid Email Adapter
Installation
npm install parse-server-sendgrid-email-adapter
Usage
const { ParseServer } = require('parse-server');
const sendGridAdapter = require('parse-server-sendgrid-email-adapter');
const config = {
...,
emailAdapter: sendGridAdapter({
apiKey: '', // sendgrid api key
from: 'myApp <[email protected]>', // from email address,
passwordResetTemplate : '', // sendGrid template ID
verificationEmailTemplate : '' // sendGrid template ID
})
};
const parseServer = new ParseServer(config);