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 #21

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

Set up Nodemailer #21

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

Comments

@michellelin1
Copy link
Member

michellelin1 commented Nov 22, 2023

Instructions

We’re going to use nodeMailer to notify the admins of AISS when someone has created an account and is waiting for approval. In this task, you’re going to…

  • Set up the nodeMailer route
  • Set up the transporter

Notes

  • The credentials for the account to send emails from are already in the backend .env.
    • The password on the .env is an App password to give nodeMailer access to the account, not the actual Google password.
  • The transporter will throw an error if the given email does not exist.
  • The verifyToken is a part of the authentication process, so it can be omitted until authentication is done.

Acceptance Criteria

  • The route is able to receive the email template and send the email to the email passed through the payload.

Resources

links to frontend issue ctc-uci/aiss-frontend#2

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