Skip to content

Instantly share code, notes, and snippets.

View abernardobr's full-sized avatar

Augusto Pissarra abernardobr

View GitHub Profile
@abernardobr
abernardobr / nodemailler_mandrill
Created August 20, 2014 14:24
NodeMailler with Mandrill
var _ = require("lodash");
var emailServerConfig = {
type: "Mantrill",
otions: {
auth: {
user: "XXX", // your email that you used to register at Mandrill
pass: "XXXXX" // At the user panel you create a password to use with your login
}
};
var Nodemailer = require("nodemailer");
@abernardobr
abernardobr / nodemailer_example
Created August 18, 2014 18:20
Send email with nodemailer
var _ = require("lodash");
var emailServerConfig = {
type: "Gmail",
otions: {
auth: {
user: "XXX", // your gmail
pass: "XXXXX" // user passoword
}
};
var Nodemailer = require("nodemailer");