From 18c86bd8cca2314d7a44de2da8eb78718c45041f Mon Sep 17 00:00:00 2001 From: Prateek Shourya Date: Mon, 18 Dec 2023 13:36:09 +0530 Subject: [PATCH] chore: add `email from address` in Instance Admin Email Settings. (#3155) --- web/components/instance/email-form.tsx | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/web/components/instance/email-form.tsx b/web/components/instance/email-form.tsx index 60e6c7bf6..82da7553e 100644 --- a/web/components/instance/email-form.tsx +++ b/web/components/instance/email-form.tsx @@ -21,6 +21,7 @@ export interface EmailFormValues { EMAIL_HOST_PASSWORD: string; EMAIL_USE_TLS: string; // EMAIL_USE_SSL: string; + EMAIL_FROM: string; } export const InstanceEmailForm: FC = (props) => { @@ -45,6 +46,7 @@ export const InstanceEmailForm: FC = (props) => { EMAIL_HOST_PASSWORD: config["EMAIL_HOST_PASSWORD"], EMAIL_USE_TLS: config["EMAIL_USE_TLS"], // EMAIL_USE_SSL: config["EMAIL_USE_SSL"], + EMAIL_FROM: config["EMAIL_FROM"], }, }); @@ -168,6 +170,31 @@ export const InstanceEmailForm: FC = (props) => { +
+
+

From address

+ ( + + )} + /> +

+ You will have to verify your email address to being sending emails. +

+
+