Closed 13jksingh closed 8 months ago
Post /v1/email/by-user-ids
{ "emails": ["harshpreetsinghjohar.btcse20@pec.edu.in","manjotsinghoberoi.btcse20@pec.edu.in"], "subject": "Exciting News!", "body": "![ACM Logo](https://upload.wikimedia.org/wikipedia/commons/thumb/8/8e/Association_for_Computing_Machinery_%28ACM%29_logo.svg/2048px-Association_for_Computing_Machinery_%28ACM%29_logo.svg.png)\n\n# Exciting Announcement\n\nDear team,\n\nWe are thrilled to announce a major milestone for our company! With your hard work and dedication, we have achieved great success.\n\nHere's a glimpse of our achievement:\n\n![Success Graph](https://media.licdn.com/dms/image/D4D05AQGmBEvSfWm_7A/feedshare-thumbnail_720_1280/0/1699529996521?e=2147483647&v=beta&t=mHAfopSwITVCTHm6ND19pqWlBncwNC5GSs-jNCkp8Ig)\n\nThank you for your continued efforts. Let's celebrate this achievement together!\n\nBest regards,\nJaskeerat Singh" }
You must have received the mails for this.
kindly review this @harshjohar @ken1000minus7
solves https://github.com/PEC-CSS/acm-website-backend/issues/80
POST /v1/email/by-role Sends emails to users based on their roles.
POST /v1/email/by-user-ids Sends emails to specific users identified by email IDs.
POST /v1/email/everyone Sends emails to all users.