Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Fixed sending of emails to only new newsletter-subscribers. #971

Open
johnson-oragui opened this issue Aug 24, 2024 · 0 comments · Fixed by #970
Open

[FIX] Fixed sending of emails to only new newsletter-subscribers. #971

johnson-oragui opened this issue Aug 24, 2024 · 0 comments · Fixed by #970
Assignees

Comments

@johnson-oragui
Copy link
Collaborator

Describe the bug
Users who have already subscribed to the newsletter receive emails of newsletter confirmation when they subscribe again. This is causing unnecessary email clutter and potentially impacting deliverability rates.

To Reproduce
Steps to reproduce the behavior:

  1. Subscribe to the newsletter using the provided form.
  2. Re-subscribe to the newsletter using the same email address.
  3. Verify that multiple copies of the newsletter are being sent to the subscribed email address.

Expected behavior
Users should only receive the first email on first subscription regardless of how many times they subscribe.

Screenshots
If applicable, add screenshots to help explain your problem.
bugfix newsletter email

Desktop (please complete the following information):

  • Browser brave
  • Version 22

Solution:

  • Update Newsletter Sending Logic:
    Modify the newsletter sending logic to only send emails to subscribers with a single entry in the database.

Additional context

  • Error Handling:
    Implement error handling to gracefully handle cases where a user attempts to subscribe with a duplicate email address.
  • User Interface:
    Provide feedback to the user if their subscription attempt is unsuccessful due to a duplicate email address.

Related Issue

newsletter bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant