Answers for "Error: Missing credentials for "PLAIN""

0

Error: Missing credentials for "PLAIN"

var email_smtp = nodemailer.createTransport({      
  host: "smtp.gmail.com",
  auth: {
    type: "login", // default
    user: "[email protected]",
    pass: "PASSWORD_HERE"
  }
});
Posted by: Guest on April-21-2020
0

Error: Missing credentials for "PLAIN"

var email_smtp = nodemailer.createTransport({      
  host: "smtp.gmail.com",
  auth: {
    type: "OAuth2",
    user: "[email protected]",
    clientId: "CLIENT_ID_HERE",
    clientSecret: "CLIENT_SECRET_HERE",
    refreshToken: "REFRESH_TOKEN_HERE"                              
  }
});
Posted by: Guest on April-21-2020

Code answers related to "Error: Missing credentials for "PLAIN""

Code answers related to "Javascript"

Browse Popular Code Answers by Language