moralis-server-sendgrid-email-adapter
v0.1.1
Published
moralis server email adapter which uses SendGrid transactional email templates
Downloads
5
Readme
Moralis Server Sendgrid Email Adapter
Installation
npm install moralis-server-sendgrid-email-adapter
Usage
const { MoralisServer } = require('moralis-server');
const sendGridAdapter = require('moralis-server-sendgrid-email-adapter');
const config = {
...,
emailAdapter: sendGridAdapter({
apiKey: '', // sendgrid api key
from: 'myApp <info@myApp.com>', // from email address,
passwordResetTemplate : '', // sendGrid template ID
verificationEmailTemplate : '' // sendGrid template ID
})
};
const moralisServer = new MoralisServer(config);