In this article, I'm gonna discuss How to configure your gmail account for sending emails in node.js using nodemailer & oAuth2. Previously, we had an option for sending emails in node.js via gmail by allowing less secure apps in your gmail settings, ...
rupali.hashnode.dev3 min read
This is very clear and nicely summarized. Thank you!
There is a mistake in the installation command. It should be:
npm install nodemailer gooogleapis dotenv "gooogleapis" should appear with 2 'o's instead of 3
hey i was thinking of adding a functionality where multiple users can send to other email user how can i do that do i have to ask for their client and secret id refresh token etc. or their is some way that i can authenticate without doing this?
Hafiz Ahmed
after a week it show gaxios error GaxiosError: invalid_grant at async OAuth2Client.refreshTokenNoCach