Advertisement
Guest User

Untitled

a guest
Jul 4th, 2016
478
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. var transporter = nodemailer.createTransport(smtpTransport({
  2. host: 'smtp.office365.com',
  3. port: 25, // have tried 465
  4. secureConnection: secure,
  5. auth: {
  6. user: username,
  7. pass: password
  8. },
  9. tls: {
  10. rejectUnauthorized: false // don't verify certificates
  11. },
  12. ignoreTLS: false // don't turn off STARTTLS support
  13. }));
  14.  
  15. [Error: Invalid login: 504 5.7.4 Unrecognized authentication type]
  16. code: 'EAUTH',
  17. response: '504 5.7.4 Unrecognized authentication type',
  18. responseCode: 504
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement