Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
✨ Change default sender name to "Rallly Notifications" (#2786)
Luke Vellab8acb6df187d
diff --git a/apps/docs/self-hosting/configuration.mdx b/apps/docs/self-hosting/configuration.mdxindex 5ff787270..c1bad265a 100644--- a/apps/docs/self-hosting/configuration.mdx+++ b/apps/docs/self-hosting/configuration.mdx@@ -32,7 +32,7 @@ All configuration lives in the `.env` file at the root of your self-hosted stackSender address for all transactional emails. Falls back to `SUPPORT_EMAIL` if not set.</ParamField>-<ParamField path="NOREPLY_EMAIL_NAME" default="Rallly">+<ParamField path="NOREPLY_EMAIL_NAME" default="Rallly Notifications">Sender name for all transactional emails.</ParamField>diff --git a/apps/web/src/env.ts b/apps/web/src/env.tsindex 2b4322d36..1d3e1f05a 100644--- a/apps/web/src/env.ts+++ b/apps/web/src/env.ts@@ -71,7 +71,7 @@ export const env = createEnv({*/SUPPORT_EMAIL: z.email(),NOREPLY_EMAIL: z.email().optional(),- NOREPLY_EMAIL_NAME: z.string().default("Rallly"),+ NOREPLY_EMAIL_NAME: z.string().default("Rallly Notifications"),/*** S3 Configurationdiff --git a/packages/emails/src/send.tsx b/packages/emails/src/send.tsxindex 8ece0213d..91e657af9 100644--- a/packages/emails/src/send.tsx+++ b/packages/emails/src/send.tsx@@ -25,7 +25,7 @@ export type SendArgs<P> = {function resolveFrom(from?: From): From {return (from ?? {- name: process.env.NOREPLY_EMAIL_NAME ?? "Rallly",+ name: process.env.NOREPLY_EMAIL_NAME ?? "Rallly Notifications",address: process.env.NOREPLY_EMAIL || process.env.SUPPORT_EMAIL || "",});