Skip to content

Instantly share code, notes, and snippets.

View gleds3000's full-sized avatar
🎯
Focusing

Gleds3000 gleds3000

🎯
Focusing
View GitHub Profile
@gleds3000
gleds3000 / Jenkins+Script+Console.md
Created August 25, 2017 18:23 — forked from mubbashir/Jenkins+Script+Console.md
jenkins groovy scripts collection.
@gleds3000
gleds3000 / nodemailer.js
Created August 14, 2019 19:10 — forked from DiegoPinho/nodemailer.js
Enviando e-mail usando Node.js
'use strict';
const nodemailer = require('nodemailer');
// Generate test SMTP service account from ethereal.email
// Only needed if you don't have a real mail account for testing
nodemailer.createTestAccount((err, account) => {
// create reusable transporter object using the default SMTP transport
let transporter = nodemailer.createTransport({
host: 'smtp.ethereal.email',