Nodemailer using godaddy password

26 Views Asked by At

Hello I have purchased email ID from godaddy for my application and its working fine but I have security concern to adding emailID's password in code , If I am using gmail they provide application password instead of email ID's password

So is there a way/option to get a application password from godaddy instead of adding email ID password ?

var transporter = nodemailer.createTransport({
     service: 'Godaddy',
     host: "smtpout.secureserver.net",
     secureConnection: true,
     port: 465,

     auth: {
        user: "[email protected]",
        pass: "emailPassword" // LOOKING FOR APPLICATION PASSWORD HERE
     }
  });
0

There are 0 best solutions below