You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I got a pr merged , in which I have implemented a functionality to send OTP's emails to the user for otp verification before signup/login.
I have used Nodemailer to send emails.
I've set the env's needed for it too i.e
gmail acc
google app password after 2 Step verification
Everything is working fine in the localhost , even after my pr got merged all other stuff I have implemented in that PR were working ,OTP window was opening , but OTP emails are not being sent in deployment.
Even the PA tried to run it in his localhost everything was working fine ,otp emails were coming but why are the gmails are not being sent in the deployment is what I am not understanding.
The project backend is deployed on render , frontend on netlify.
Is the issue in the Google blocking nodemailer from using gmail? , Or any other permissions need to be given in deployment?
Can anyone help me out in this I can link PR for review if needed.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Recently I got a pr merged , in which I have implemented a functionality to send OTP's emails to the user for otp verification before signup/login.
I have used Nodemailer to send emails.
I've set the env's needed for it too i.e
Everything is working fine in the localhost , even after my pr got merged all other stuff I have implemented in that PR were working ,OTP window was opening , but OTP emails are not being sent in deployment.
Even the PA tried to run it in his localhost everything was working fine ,otp emails were coming but why are the gmails are not being sent in the deployment is what I am not understanding.
The project backend is deployed on render , frontend on netlify.
Is the issue in the Google blocking nodemailer from using gmail? , Or any other permissions need to be given in deployment?
Can anyone help me out in this I can link PR for review if needed.
Beta Was this translation helpful? Give feedback.
All reactions