Fixed #24419 -- Added sendtestemail management command

This commit is contained in:
Loek van Gent 2015-03-07 13:55:59 +01:00 committed by Tim Graham
parent 55f12f8709
commit d898ba1bec
6 changed files with 79 additions and 1 deletions

View file

@ -875,6 +875,18 @@ By default, the development server doesn't serve any static files for your site
you want to configure Django to serve static media, read
:doc:`/howto/static-files/index`.
sendtestemail
-------------
.. django-admin:: sendtestemail
.. versionadded:: 1.9
Sends a test email (to confirm email sending through Django is working) to the
recipient(s) specified. For example::
django-admin sendtestemail foo@example.com bar@example.com
shell
-----