Closed briantkatch closed 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
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 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?
@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.
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).
🛠Proposed Changes:
Add email support and reset password email
This commit adds email support using nodemailer and a helper file
fs
module in the Serverless environment, email templates must be .ts file exporting atxtTemplate
and ahtmlTemplate
string@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.