ajaynegi45 / Uttarakhand-Culture-NewUI

Unlock Uttarakhand's hidden treasures! Discover its vibrant culture, rich history, and breathtaking beauty. Join our mission to preserve and celebrate the region's heritage for future generations.
https://uttarakhand-culture.vercel.app
28 stars 66 forks source link

Correcting the Join the Newsletter option #49

Open RiteshS1 opened 2 months ago

RiteshS1 commented 2 months ago

Is this a new issue?

Bug Description

The Join the Newsletter option is not responding as its not even taking user input!

Steps to Reproduce

No response

Screenshots

Screenshot 2024-10-03 085615

Would you like to work on this issue?

Yes

Implementation Plan

No response

ajaynegi45 commented 2 months ago

Is this a new issue?

  • [x] I have searched "open" and "closed" issues, and this is not a duplicate.

Bug Description

The Join the Newsletter option is not responding as its not even taking user input!

Steps to Reproduce

No response

Screenshots

Screenshot 2024-10-03 085615

Would you like to work on this issue?

Yes

Implementation Plan

No response

Hey @RiteshS1,

Thanks for showing interest in tackling this issue! I'd be happy to assign it to you, but before I do, could you walk me through how you plan to implement this feature in detail?

Also, before jumping in, I recommend giving the Readme.md a thorough read. It'll help you get a solid grasp of the project's goals and purpose. Plus, check out the Contributing.md file for some handy guidelines that’ll make your contribution process smoother, especially if you're new around here.

If you run into any questions or need help along the way, don’t hesitate to reach out!

RiteshS1 commented 2 months ago

Thanks @ajaynegi45 I would modify the Footer.tsx file; also the positioning of certain texts nd the form functionality!

And yes, i did checkout the Readme.md and Contributor Guidelines! Do assign me the issue along with the Hactoberfest and GSSOC labels

ajaynegi45 commented 2 months ago

Thanks @ajaynegi45 I would modify the Footer.tsx file; also the positioning of certain texts nd the form functionality!

And yes, i did checkout the Readme.md and Contributor Guidelines! Do assign me the issue along with the Hactoberfest and GSSOC labels

Thanks for your input! Before we proceed, could you provide more details on how the email addresses are going to be stored and when the newsletters will be sent out? Which service are you planning to use for sending the newsletters? Currently, the input field is disabled because no functionality has been implemented yet. Please clarify this part so I can move forward.

RiteshS1 commented 2 months ago

Oh about that; well I've knowledge of only one such platform to do so ie MailChimp; its quite easy with that as you just need to have the api key with the main account and it can be used to store & send customized mails u can also automate it like the big mncs but I dont know if its in the free plan or not; I havent done any automation before but we can still send mails to 500 subscribers yeah thats the limit jus checked! Before I was thinking about that u just wanna sent a welcome email to users when they hit subscribe; my bad! Tell me whatever you would wanna go with!

ajaynegi45 commented 2 months ago

Oh about that; well I've knowledge of only one such platform to do so ie MailChimp; its quite easy with that as you just need to have the api key with the main account and it can be used to store & send customized mails u can also automate it like the big mncs but I dont know if its in the free plan or not; I havent done any automation before but we can still send mails to 500 subscribers yeah thats the limit jus checked! Before I was thinking about that u just wanna sent a welcome email to users when they hit subscribe; my bad! Tell me whatever you would wanna go with!

Implement it. Send a welcome email to new subscribers

RiteshS1 commented 2 months ago

Oh about that; well I've knowledge of only one such platform to do so ie MailChimp; its quite easy with that as you just need to have the api key with the main account and it can be used to store & send customized mails u can also automate it like the big mncs but I dont know if its in the free plan or not; I havent done any automation before but we can still send mails to 500 subscribers yeah thats the limit jus checked! Before I was thinking about that u just wanna sent a welcome email to users when they hit subscribe; my bad! Tell me whatever you would wanna go with!

Implement it. Send a welcome email to new subscribers

Sure, on it!

ajaynegi45 commented 2 months ago

Oh about that; well I've knowledge of only one such platform to do so ie MailChimp; its quite easy with that as you just need to have the api key with the main account and it can be used to store & send customized mails u can also automate it like the big mncs but I dont know if its in the free plan or not; I havent done any automation before but we can still send mails to 500 subscribers yeah thats the limit jus checked! Before I was thinking about that u just wanna sent a welcome email to users when they hit subscribe; my bad! Tell me whatever you would wanna go with!

You can use https://resend.com for sending email.

RiteshS1 commented 2 months ago

I just had a new mailchimp acc setup but no worries; I'm fine with this too! Thanks its even more better for us developers ig..

RiteshS1 commented 2 months ago

Hei @ajaynegi45 I did finish setting up the newsletter with resend ; but after setting up the api creating subscriber.ts and after completing all the coding ;upon testing i got this

Screenshot 2024-10-04 021247

Then I thought to give MailChimp a try & over their too facing a similar issue....

Screenshot 2024-10-04 033147

Now I'm gonna finish this using Nodemailer

RiteshS1 commented 2 months ago

I have sent the PR along with my deployed version for testing! Don't forget to assign some good labels including hacktoberfest & gssoc-ext

ajaynegi45 commented 2 months ago

I have sent the PR along with my deployed version for testing! Don't forget to assign some good labels including hacktoberfest & gssoc-ext

I have added labels and give you highest points 35 level3 in gssoc.

RiteshS1 commented 2 months ago

I have sent the PR along with my deployed version for testing! Don't forget to assign some good labels including hacktoberfest & gssoc-ext

I have added labels and give you highest points 35 level3 in gssoc.

Thanks mate!

ajaynegi45 commented 1 month ago

I have sent the PR along with my deployed version for testing! Don't forget to assign some good labels including hacktoberfest & gssoc-ext

I have added labels and give you highest points 35 level3 in gssoc.

Thanks mate!

complete this task fast

RiteshS1 commented 1 month ago

I have sent the PR along with my deployed version for testing! Don't forget to assign some good labels including hacktoberfest & gssoc-ext

I have added labels and give you highest points 35 level3 in gssoc.

Thanks mate!

complete this task fast

Actually I'm working on more than 2 projects rn so it may take a day or two given the response time; however major issue is already solved in the newsletter so it shouldnt take much time! First of all I'll need some info regarding the database part for the email storing; did u set one?

Also dont forget to assign this issue:)

ajaynegi45 commented 1 month ago

I have sent the PR along with my deployed version for testing! Don't forget to assign some good labels including hacktoberfest & gssoc-ext

I have added labels and give you highest points 35 level3 in gssoc.

Thanks mate!

complete this task fast

Actually I'm working on more than 2 projects rn so it may take a day or two given the response time; however major issue is already solved in the newsletter so it shouldnt take much time! First of all I'll need some info regarding the database part for the email storing; did u set one?

Also dont forget to assign this issue:)

Store them where I can send them bulk email. To new Updates

RiteshS1 commented 1 month ago

Store them where I can send them bulk email. To new Updates

As I shared before in to store and send bulk mails we aare gonna need a paid plan for MailChimp/Resend also being the owner of domain you'll need to verify it too! I tried doing on Resend& Mandrill ,did'nt work! Check those screenshots I shared in this thread above.

Still I would search for any free platform to do so if any , and let yk..

ajaynegi45 commented 1 month ago

Store them where I can send them bulk email. To new Updates

As I shared before in to store and send bulk mails we aare gonna need a paid plan for MailChimp/Resend also being the owner of domain you'll need to verify it too! I tried doing on Resend& Mandrill ,did'nt work! Check those screenshots I shared in this thread above.

Still I would search for any free platform to do so if any , and let yk..

The idea I'm thinking of is to store emails somewhere, and then use Nodemailer to retrieve them one by one and send out newsletters. This process should be fully automated.

RiteshS1 commented 1 month ago

Store them where I can send them bulk email. To new Updates

As I shared before in to store and send bulk mails we aare gonna need a paid plan for MailChimp/Resend also being the owner of domain you'll need to verify it too! I tried doing on Resend& Mandrill ,did'nt work! Check those screenshots I shared in this thread above. Still I would search for any free platform to do so if any , and let yk..

The idea I'm thinking of is to store emails somewhere, and then use Nodemailer to retrieve them one by one and send out newsletters. This process should be fully automated.

I searched bro ; we cant do that for free!

If you still want me to send a PR with my nodemailer implementation for welcome mails then lemme know

ajaynegi45 commented 1 month ago

Store them where I can send them bulk email. To new Updates

As I shared before in to store and send bulk mails we aare gonna need a paid plan for MailChimp/Resend also being the owner of domain you'll need to verify it too! I tried doing on Resend& Mandrill ,did'nt work! Check those screenshots I shared in this thread above. Still I would search for any free platform to do so if any , and let yk..

The idea I'm thinking of is to store emails somewhere, and then use Nodemailer to retrieve them one by one and send out newsletters. This process should be fully automated.

I searched bro ; we cant do that for free!

If you still want me to send a PR with my nodemailer implementation for welcome mails then lemme know

We don't need any services for that we can code for that. Create a page where I can compose a newsletter, and upon clicking the send button, it retrieves email addresses from the database and sends the newsletter to each address individually.

RiteshS1 commented 1 month ago

We don't need any services for that we can code for that. Create a page where I can compose a newsletter, and upon clicking the send button, it retrieves email addresses from the database and sends the newsletter to each address individually.

Ok, but thats a long shot ig as our process to achieve this is gonna be like first combining a database for storing subscriber emails, an admin interface for composing newsletters, and then Nodemailer for sending emails..I have worked on MongoDB multiple times before and we can use it for our purpose so; If you could handle the database setup (MongoDB cluster, users, etc.), then provide me with the connection string, username, and password, I can take it from there. Let me know once you have that in place, and we’ll get started!

Saurabhchaudhary9799 commented 1 month ago

hey @ajaynegi45 , i want to work on this issue , if @RiteshS1 don't want to work on this issue

Saurabhchaudhary9799 commented 1 month ago

hey @ajaynegi45 , i want to work on this issue , if @RiteshS1 don't want to work on this issue

could you please assign this to me

RiteshS1 commented 1 month ago

hey @ajaynegi45 , i want to work on this issue , if @RiteshS1 don't want to work on this issue

Bro can you please share your approach if you are planning to implement this without setting up any database??