From 3310aed462f231e0b41e0885645a950b0cd781ce Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 24 Oct 2024 12:37:14 -0700 Subject: [PATCH] send_custom_email: Support specifying sender email address. --- zerver/management/commands/send_custom_email.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zerver/management/commands/send_custom_email.py b/zerver/management/commands/send_custom_email.py index 1425517903..766d595906 100644 --- a/zerver/management/commands/send_custom_email.py +++ b/zerver/management/commands/send_custom_email.py @@ -85,6 +85,10 @@ class Command(ZulipBaseCommand): "--from-name", help="From line for the email. It can be declared in Markdown file in headers", ) + parser.add_argument( + "--from-address", + help="From email address", + ) parser.add_argument("--reply-to", help="Optional reply-to line for the email") parser.add_argument(