Lets-code-with-us / scamwebsiteV1

Scam Alert is an open-source platform where users can share and alert others about new types of scams. The goal is to create a community-driven space to identify and report various scam attempts, helping to protect people from fraud.
https://scamwebsite-v1.vercel.app/
12 stars 45 forks source link

Add a cron job api that send email to the register user about the new blogs published #65

Closed Shu12388y closed 1 month ago

Shu12388y commented 1 month ago

ISSUE NAME

Add a cron job api that send email to the register user about the new blogs published

ISSUE DESCRIPTION

Here are the docs https://vercel.com/docs/cron-jobs Every Wednesday mail every signup user about the new blogs

shashi-sah2003 commented 1 month ago

Hey @Shu12388y I have worked with cron jobs pls assign me this issue thanks

Shu12388y commented 1 month ago

@shashi-sah2003 assigned

shashi-sah2003 commented 1 month ago

@Shu12388y should I make the changes in the src/utils/sendMail.ts file or should I make my separate file for this?

Shu12388y commented 1 month ago

@shashi-sah2003 make the separate file

shashi-sah2003 commented 1 month ago

@Shu12388y I have raised a PR https://github.com/Lets-code-with-us/scamwebsiteV1/pull/88 pls review and let me know if there is anything more to be done thanks