Skip to content

Scheduling infrastructure for absolutely everyone.

use support email (.env) in password reset mail (#7181)

Peer Richelsen5da76c698e26
diff --git a/packages/emails/src/templates/ForgotPasswordEmail.tsx b/packages/emails/src/templates/ForgotPasswordEmail.tsx
index b94c32c1215..e04c336dd12 100644
--- a/packages/emails/src/templates/ForgotPasswordEmail.tsx
+++ b/packages/emails/src/templates/ForgotPasswordEmail.tsx
@@ -1,6 +1,6 @@
import type { TFunction } from "next-i18next";
-import { APP_NAME } from "@calcom/lib/constants";
+import { APP_NAME, SUPPORT_MAIL_ADDRESS } from "@calcom/lib/constants";
import { BaseEmailHtml, CallToAction } from "../components";
@@ -34,7 +34,11 @@ export const ForgotPasswordEmail = (
<p style={{ fontWeight: 400, lineHeight: "24px" }}>
<>
{props.language("have_any_questions")}{" "}
- <a href="mailto:[email protected]" style={{ color: "#3E3E3E" }} target="_blank" rel="noreferrer">
+ <a
+ href={`mailto:${SUPPORT_MAIL_ADDRESS}`}
+ style={{ color: "#3E3E3E" }}
+ target="_blank"
+ rel="noreferrer">
<>{props.language("contact_our_support_team")}</>
</a>
</>