Skip to content

jbfolkerts/keystone-nodemailer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

keystone-nodemailer

Implements the keystone.Email.prototype.send method using Nodemailer.

Default Configuration (SMTP)

Require the module after keystone in your configuration:

var keystone = require('keystone');
require('keystone-nodemailer');

Set your options for Nodemailer using the keystone option email nodemailer:

keystone.set('email nodemailer', {
    // Nodemailer configuration
});

SendGrid Configuration

In order to use SendGrid as your mail service, set your node-mailer service option to 'sendgrid' in your keystone configuration file as in this example:

keystone.set('email nodemailer', {
	service = 'sendgrid',
	auth: {
 	   api_key: "<SENDGRID_APIKEY>"
	},
	secure: true,
	logger: true
});

About

Nodemailer support for Keystone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%