Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
⚙️ Allow user to customize the sender name for mails (#1023)
BMastera675897e2cd2
diff --git a/apps/docs/self-hosting/configuration-options.mdx b/apps/docs/self-hosting/configuration-options.mdxindex 233db2f38..e8bafd508 100644--- a/apps/docs/self-hosting/configuration-options.mdx+++ b/apps/docs/self-hosting/configuration-options.mdx@@ -41,6 +41,11 @@ These variables need to be configured to let Rallly send out transactional email`SUPPORT_EMAIL` will be used instead.</ParamField>+<ParamField path="NOREPLY_EMAIL_NAME">+ This name is used as the sender name for all transactional emails. If not set,+ `Rallly` will be used instead.+</ParamField>+<ParamField path="SUPPORT_EMAIL" required>This email will be shown as the contact email for support queries.</ParamField>diff --git a/apps/web/src/utils/emails.ts b/apps/web/src/utils/emails.tsindex ebed1f8f3..7ca7538e8 100644--- a/apps/web/src/utils/emails.ts+++ b/apps/web/src/utils/emails.ts@@ -12,7 +12,9 @@ export const emailClient = new EmailClient({},mail: {from: {- name: "Rallly",+ name:+ (process.env.NOREPLY_EMAIL_NAME as string) ||+ "Rallly",address:(process.env.NOREPLY_EMAIL as string) ||(process.env.SUPPORT_EMAIL as string),diff --git a/turbo.json b/turbo.jsonindex 9f245690f..906362445 100644--- a/turbo.json+++ b/turbo.json@@ -89,6 +89,7 @@"NEXT_PUBLIC_VERCEL_URL","NODE_ENV","NOREPLY_EMAIL",+ "NOREPLY_EMAIL_NAME","OIDC_NAME","OIDC_DISCOVERY_URL","OIDC_CLIENT_ID",