Guest User

Untitled

a guest
Jan 9th, 2018
753
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. var transporter = nodemailer.createTransport(smtpTransport({
  2. host: 'outlook.office365.com',
  3. port: 25,
  4. secure: true, // use TLS
  5. auth: {
  6. user: 'meuemail',
  7. pass: 'minhasenha'
  8. },
  9. tls: {
  10. // do not fail on invalid certs
  11. rejectUnauthorized: false
  12. }
  13. }));
  14.  
  15. Error: getaddrinfo ENOTFOUND outlook.office365.com outlook.office365.com:587
  16. at errnoException (dns.js:28:10)
  17. at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
  18. code: 'ECONNECTION',
  19. errno: 'ENOTFOUND',
  20. syscall: 'getaddrinfo',
  21. hostname: 'outlook.office365.com',
  22. host: 'outlook.office365.com',
  23. port: 587,
  24. command: 'CONN'
Add Comment
Please, Sign In to add comment