Skip to content

Instantly share code, notes, and snippets.

@gabrielrufino
Created June 27, 2018 14:04
Show Gist options
  • Save gabrielrufino/9adcba1413d12f9e26b77edb6487b215 to your computer and use it in GitHub Desktop.
Save gabrielrufino/9adcba1413d12f9e26b77edb6487b215 to your computer and use it in GitHub Desktop.
Nodemailer: O pombo-correio do Node.js
const nodemailer = require('nodemailer') // Importa o módulo principal
const transporter = nodemailer.createTransport({ // Configura os parâmetros de conexão com servidor.
host: 'smtp.umbler.com',
port: 547,
secure: false,
auth: {
user: '[email protected]',
pass: 'ex3mpl0'
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment