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
-----

View file

@ -146,7 +146,8 @@ Internationalization
Management Commands
^^^^^^^^^^^^^^^^^^^
* ...
* The new :djadmin:`sendtestemail` command lets you send a test email to
easily confirm that email sending through Django is working.
Models
^^^^^^

View file

@ -682,6 +682,7 @@ screenshots
sdist
semimajor
semiminor
sendtestemail
serializability
serializable
serializer