send_test_email: Remind users to restart the server after updates.

This commit is contained in:
Tim Abbott 2017-09-22 13:32:22 -07:00
parent 3708f5708a
commit 8badd10a6c
1 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,9 @@ class Command(sendtestemail.Command):
subject = "Zulip Test email"
message = ("Success! If you receive this message, you've "
"successfully configured sending email from your "
"Zulip server.")
"Zulip server. Remember that you need to restart "
"the Zulip server with /home/zulip/deployments/current/scripts/restart-server "
"after changing the settings in /etc/zulip before your changes will take effect.")
sender = FromAddress.SUPPORT
send_mail(subject, message, sender, kwargs['email'])