Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let smtpConfig = {
- host: '127.0.0.1',
- port: 1025,
- secure: false, // upgrade later with STARTTLS
- auth: {
- user: 'user',
- pass: 'password'
- }
- };
- const smtpTransport = nodemailer.createTransport(smtpConfig);
Add Comment
Please, Sign In to add comment