mirror of
https://github.com/django/django.git
synced 2025-11-03 05:13:23 +00:00
Fixed #24419 -- Added sendtestemail management command
This commit is contained in:
parent
55f12f8709
commit
d898ba1bec
6 changed files with 79 additions and 1 deletions
|
|
@ -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
|
||||
-----
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
^^^^^^
|
||||
|
|
|
|||
|
|
@ -682,6 +682,7 @@ screenshots
|
|||
sdist
|
||||
semimajor
|
||||
semiminor
|
||||
sendtestemail
|
||||
serializability
|
||||
serializable
|
||||
serializer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue