Guest User

Untitled

a guest
Dec 18th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. let smtpConfig = {
  2. host: '127.0.0.1',
  3. port: 1025,
  4. secure: false, // upgrade later with STARTTLS
  5. auth: {
  6. user: 'user',
  7. pass: 'password'
  8. }
  9. };
  10.  
  11. const smtpTransport = nodemailer.createTransport(smtpConfig);
Add Comment
Please, Sign In to add comment