diff options
| author | NagaKartheekReddy <kartheek.5081@gmail.com> | 2026-06-04 22:41:53 +0200 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2026-06-11 14:53:46 -0300 |
| commit | 14c66825e0088b7e08fe5d108fa293bd31722c39 (patch) | |
| tree | 5c9435c8ec2574f496cd3ff4afeae6452aed4f97 /docs | |
| parent | 443780780bbe88822f0af4b27517d7e8f080a6a2 (diff) | |
Fixed #37141 -- Added --using option to sendtestemail command.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/django-admin.txt | 11 | ||||
| -rw-r--r-- | docs/releases/6.1.txt | 3 |
2 files changed, 12 insertions, 2 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index fc8de971ec..8e3de60c4f 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -1069,8 +1069,15 @@ recipient(s) specified. For example: django-admin sendtestemail foo@example.com bar@example.com -There are a couple of options, and you may use any combination of them -together: +The following options may be used in any combination with each other and with +recipient email arguments. + +.. django-admin-option:: --using ALIAS + +.. versionadded:: 6.1 + +Specifies the :setting:`MAILERS` alias to use for sending the test email to +the recipients given as arguments. Defaults to the ``"default"`` mailer. .. django-admin-option:: --managers diff --git a/docs/releases/6.1.txt b/docs/releases/6.1.txt index 123486f242..adb66a013d 100644 --- a/docs/releases/6.1.txt +++ b/docs/releases/6.1.txt @@ -274,6 +274,9 @@ Management Commands :data:`~django.db.models.signals.m2m_changed` signals with ``raw=True`` when loading fixtures. +* The :djadmin:`sendtestemail` command now supports a :option:`--using + <sendtestemail --using>` option to specify the :setting:`MAILERS` alias. + Models ~~~~~~ |
