ACM-VIT / maildart-backend

A mass mailer operating through a given set of emails in JSON
MIT License
3 stars 5 forks source link

Add route and initialize SendGrid API #11

Closed 1407arjun closed 2 years ago

1407arjun commented 2 years ago

This pull request solves #8. Added a /sendgrid route in the user.routes.js. Initialized the SendGrid API and created a function to send a mail to the given list of users in the utils/sendgrid.js. Do let me know if there are any changes to be made from my side.

acmbot[bot] commented 2 years ago

Thanks @1407arjun, for opening the pull request! 🙌 One of our team-mates will review the pull request soon. ✅

acmbot[bot] commented 2 years ago

Congratulations @1407arjun, your pull request is merged! 🎉 Thanks for your contributions. 🙌