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: Fix dry run with --remote-servers.

Tim Abbotted01e16f604b
diff --git a/zerver/management/commands/send_custom_email.py b/zerver/management/commands/send_custom_email.py
index 93337e213e1..af5131dfd7d 100644
--- a/zerver/management/commands/send_custom_email.py
+++ b/zerver/management/commands/send_custom_email.py
@@ -136,3 +136,5 @@ class Command(ZulipBaseCommand):
print("Would send the above email to:")
for user in users:
print(f" {user.delivery_email} ({user.realm.string_id})")
+ for email in target_emails:
+ print(f" {email}")