hngprojects / hng_boilerplate_python_fastapi_web

Apache License 2.0
153 stars 136 forks source link

fix: newsletter email verification subscription #925

Closed johnson-oragui closed 2 months ago

johnson-oragui commented 2 months ago

This pull request solves the previous situation where no email is sent to a user when they subscribe to newsletter. ​

Description

This pull request solves the previous situation where no email is sent to a user when they subscribe to newsletter. With this fix, emails are now been sent to users on newsletter-subscriptions.

Related Issue (Link to issue ticket)

newsletter subscription email

Motivation and Context

Users need to get a confirmation email on or after subscribing to a newsletter.

How Has This Been Tested?

This has been tested with pytest and postman.

Screenshots (if appropriate - Postman, etc):

​EMAIL IS SENT TO USER fixbug newsletter postman

EMAIL IS RECEIVED BY THE USER fixbug newsletter email

Types of changes

Checklist: