diff --git a/src/lib/email.ts b/src/lib/email.ts index 2547125..1bcce9f 100644 --- a/src/lib/email.ts +++ b/src/lib/email.ts @@ -1,7 +1,8 @@ import { Resend } from "resend"; const RESEND_API_KEY = process.env.RESEND_API_KEY; -const EMAIL_FROM = process.env.EMAIL_FROM || "Tia "; +// Falls back to Resend's shared test domain if EMAIL_FROM env var not set or domain not verified yet +const EMAIL_FROM = process.env.EMAIL_FROM || "Tia "; const APP_URL = process.env.NEXT_PUBLIC_APP_URL || "https://tia.manohargupta.com"; /** Sends a family invite email, or logs the link in dev. */