I had to add require('dotenv').config(); in my sendmail.js file, because the env variables were not being found. If anyone runs into the same issue. thanks for the tut!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I had to add
require('dotenv').config();
in my sendmail.js file, because the env variables were not being found. If anyone runs into the same issue. thanks for the tut!