NathanGrenier / SOEN-341

Web Project for Concordia's SOEN 341 Class (Software Process)
https://soen-341.vercel.app
1 stars 2 forks source link

Implement password reset email #208

Closed briantkatch closed 6 months ago

briantkatch commented 6 months ago

🛠 Proposed Changes:

Add email support and reset password email

This commit adds email support using nodemailer and a helper file

@NathanGrenier the secrets for prod/dev/preview will need to be configured with an SMTP host, port, email, and password for a real SMTP email account. Let me know if you need me to provide one.

This branch is forked off the feature/check-in-out branch, so to minimize conflicts #200 should be merged before this PR.

github-actions[bot] commented 6 months ago

Vercel Preview URL :rocket: : https://soen-341-c1oyg71ya-nathangreniers-projects.vercel.app Neon branch :elephant: : https://console.neon.tech/app/projects/shiny-smoke-03744977/branches/br-weathered-shadow-a5ti9hgw

briantkatch commented 6 months ago

fyi I used https://www.enginemailer.com/html-email-builder to create my HTML email.

HTML email has a lot of weird restrictions for compatibility - must use inline styles (except for responsive/@media...), must use tables for layout, etc. So I'd recommend just using the tool.

NathanGrenier commented 6 months ago

@NathanGrenier the secrets for prod/dev/preview will need to be configured with an SMTP host, port, email, and password for a real SMTP email account. Let me know if you need me to provide one.

Do you not have access to the secrets of the repo?

briantkatch commented 6 months ago

@NathanGrenier the secrets for prod/dev/preview will need to be configured with an SMTP host, port, email, and password for a real SMTP email account. Let me know if you need me to provide one.

Do you not have access to the secrets of the repo?

I don't.

NathanGrenier commented 6 months ago

I don't.

Alright, you can provide me with the secret values and I can set them in the repo. Give me 2 sets of values (1 for prod and develop, 1 for preview environments).