adrianhajdin / pricewise

Dive into web scraping and build a Next.js 13 eCommerce price tracker within a single video that teaches you data scraping, cron jobs, sending emails, deployment, and more.
https://pricewise-jsm.vercel.app
508 stars 151 forks source link

Emails not sent on deployed website #5

Closed GhosTHaise closed 3 months ago

GhosTHaise commented 1 year ago

Hi there,nodemailer function not work on my deployed website. "sendEmail" function has been called and no error happened on log but no mail has been sent.It works perfectly on localhost server image

UjwalPatel05 commented 1 year ago

@GhosTHaise You need to remove the callback from the nodemailer sendEmail function otherwise, it does not return a promise... this causes the script in vercel to be terminated earlier hence not email being sent!

sathyashiva9 commented 8 months ago

I am getting welcome message but there is no message when there is a price drop. Can you help me with it?

mohamedaleya commented 7 months ago

On Netlify, Vercel etc it didn't work. However after deploying it on my EC2 VPS it worked like a charm.

The issue is with nodemailer according to multiple replies on similar issues.

GhosTHaise commented 3 months ago

On Netlify, Vercel etc it didn't work. However after deploying it on my EC2 VPS it worked like a charm.

The issue is with nodemailer according to multiple replies on similar issues.

Thanks it works now !