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]: (PHP) Ensure Confirmation Email is Sent After Successful Waitlist registration #544

Open
abdielbytes opened this issue Aug 23, 2024 · 0 comments

Comments

@abdielbytes
Copy link
Contributor

Description

After a user submits their name and email address to join the waitlist, the system should process the registration and send a confirmation email. However, users are currently not receiving confirmation emails after submitting the form.

Acceptance Criteria

• The API endpoint successfully processes and stores the user's details in the database.
• A confirmation email is sent to the user immediately after successful registration on the waitlist.
• Backend logs should show a successful transaction for each registration, including email delivery confirmation.
• No errors or failures should be logged during the registration and email sending process.

Purpose

• To confirm successful registration on the waitlist by sending a confirmation email to the user.
• To ensure that user data is correctly processed and stored in the database upon submission.

Requirem#ents

• Ensure that the backend API is correctly handling the form submission and storing user details in the database.
• Integrate with an email service provider to send confirmation emails to users upon successful registration.
• Include necessary error handling to capture and log any failures during the registration or email-sending process.
• Verify that the API returns an appropriate response code (e.g.,
200 OK) upon successful registration and email dispatch.

Expected Outcome

Upon successful submission of the waitlist form, the user's data should be processed and stored in the database, and a confirmation email should be sent to the user's provided email address.

Video

https://drive.google.com/file/d/1WIu2SCRFXWjtLKdtUC_8qLHdO8FglNyC/view?usp=sharing

Reference

hngprojects/hng_boilerplate_nestjs#856

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

No branches or pull requests

1 participant