Nodemailer worked in development but after I deployed it it stopped working

Posted February 22, 2021 281 views

I set environment variables to hide my password and it was working fine in development. I could send emails but when I deployed the website it stopped working. What is the problem?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi @inesbarataborges,

It’s going to be really hard to debug this without any information both for yourself or anyone in the community. Can you try and dig up some logs? Usually, the error_log provides information that 90% of the situations can help with resolving it.