Created
June 27, 2018 14:04
-
-
Save gabrielrufino/9adcba1413d12f9e26b77edb6487b215 to your computer and use it in GitHub Desktop.
Nodemailer: O pombo-correio do Node.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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