I want to create an API to forget password but I’m having trouble setting up nodemailer where it asks for email and password. What if I have many users.
const transporter = nodemailer.createTransport({
service: "gmail", // e.g., 'gmail'
auth: {
user: "[email protected]",
pass: "HidayahAzmi988",
},
});