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

Set Up NodeMailer #2

Closed
michellelin1 opened this issue Nov 22, 2023 · 0 comments · Fixed by #8
Closed

Set Up NodeMailer #2

michellelin1 opened this issue Nov 22, 2023 · 0 comments · Fixed by #8
Assignees
Labels

Comments

@michellelin1
Copy link
Member

michellelin1 commented Nov 22, 2023

Instructions

  • Create a temporary email template to send (this could be a simple component with some text).
  • Create a temporary component to test out the email functionality. Add format validation for the email input.
  • Use the react-html-email library to render the email template.
    • Note: you need to yarn install this dependency
  • Call the backend route to send the email (refer to the sendEmail function).

Notes

  • As a sanity check, log into the email account to see if it sent the email. Login credentials:
    • email: [email protected]
    • password: barbenhea1$$mer
    • the password in the backend .env is not the account password

Acceptance Criteria

  • An email can be triggered (ex: by clicking a button) to send to a specific email address.
  • Component should be able to receive different email templates to send.
  • Emailing a non-existent should display an error message.

Resources

links to backend issue #21

As always feel free to message Michael and Michelle if you have any questions

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

Successfully merging a pull request may close this issue.

4 participants