Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

send_custom_email: Support specifying sender email address.

Tim Abbott3310aed462f2
diff --git a/zerver/management/commands/send_custom_email.py b/zerver/management/commands/send_custom_email.py
index 1425517903d..766d5959069 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(