mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
management: Rename the deliver_email command to deliver_scheduled_email.
This makes it parallel with deliver_scheduled_messages, and clarifies that it is not used for simply sending outgoing emails (e.g. the `email_senders` queue). This also renames the supervisor job to match.
This commit is contained in:
committed by
Tim Abbott
parent
f7baa3c388
commit
0f1611286d
@@ -23,7 +23,7 @@ with only a few things you need to know to get started.
|
||||
are several other functions in `zerver.lib.send_email`, but all of them
|
||||
eventually call the `send_email` function. The most interesting one is
|
||||
`send_future_email`. The `ScheduledEmail` entries are eventually processed
|
||||
by a supervisor job that runs `zerver/management/commands/deliver_email.py`.
|
||||
by a supervisor job that runs `zerver/management/commands/deliver_scheduled_emails.py`.
|
||||
* Always use `user_profile.delivery_email`, not `user_profile.email`,
|
||||
when passing data into the `send_email` library. The
|
||||
`user_profile.email` field may not always be valid.
|
||||
|
||||
Reference in New Issue
Block a user