HITK-TECH-Community / Community-Website

Official Website of HITK Tech Community πŸ‘©πŸ»β€πŸ’»πŸ‘¨πŸ»β€πŸ’»
https://hitk-tech-community.netlify.app/
MIT License
169 stars 321 forks source link

[Backend] - Mail on signup of newsletter. #870

Open aayushwrld opened 1 month ago

aayushwrld commented 1 month ago

Is your feature request related to a problem? Please describe.

  1. welcome email if the user is first time subscriber saying that you have successfully signed up for hitk-tech-community broadcasts.
  2. subsequent email containing new broadcast detail whenever a new broadcast publish on the website
  3. Validation on the email Describe the solution you'd like I would like that when we signup for newsletter the email gets stored in the database and a Welcome email is sent to the person who signed up for the same.

Additional context I would like to implement this feature for the website. I'll use the package "nodemailer" to implement the same.

Have you read the Code of Conduct? Yes, I've read it.

welcome[bot] commented 1 month ago

Hello there!πŸ‘‹ Welcome to the project!πŸš€βš‘

Thank you and congratsπŸŽ‰ for opening your very first issue in this project. Community-website aims to build a resource sharing platform in order to reduce the knowledge gap. Please adhere to our Code of Conduct.πŸ™Œ If you have screenshots or a gif to share demonstrating the issue, that's really helpful!πŸ“Έ Please make sure not to start working on the issue, unless you get assigned to it.πŸ˜„

Feel free to join our Slack Community.πŸ’– We have different channels for active discussions.✨ Hope you have a great time there!πŸ˜„

Komalpardasani commented 1 month ago

please assign this issue to me

Kajol-Kumari commented 1 month ago

@aayushwrld can i expect that subscription means the subscribers will get an email after every new broadcast being added the website?

aayushwrld commented 1 month ago

Hi @Kajol-Kumari, No, I just meant that the user will get a welcome email on signup, not further emails.

Kajol-Kumari commented 1 month ago

Like we discussed in the dms, i am expecting 2 things from this issue -

  1. welcome email if the user is first time subscriber
  2. subsequent email containing new broadcast detail whenever a new broadcast publish on the website
PRANJALJAVIA commented 1 month ago

@Kajol-Kumari Please assign this issue to me. I have worked on the doctor appointment management project, where I have implemented this email sending functionality when doctor approve patient's appointment request than notification using email is sent to the patient .

PRANJALJAVIA commented 1 month ago

@Kajol-Kumari , to implement this feature, Do we need to add one new model "User"?, because mail is sent to those who are registered in website.

Kajol-Kumari commented 2 weeks ago

@PRANJALJAVIA yes, creating a new model should be the ideal case here as its an open website