@@ -488,20 +488,18 @@ Features deprecated in 6.0
488488Positional arguments in ``django.core.mail`` APIs
489489-------------------------------------------------
490490
491- .. currentmodule:: django.core.mail
492-
493491:mod:`django.core.mail` APIs now require keyword arguments for less commonly
494492used parameters. Using positional arguments for these now emits a deprecation
495493warning and will raise a :exc:`TypeError` when the deprecation period ends:
496494
497495* All *optional* parameters (``fail_silently`` and later) must be passed as
498- keyword arguments to :func:`get_connection`, :func:`mail_admins`,
499- :func:`mail_managers`, :func:`send_mail`, and :func:`send_mass_mail`.
496+ keyword arguments to :func:`. get_connection`, :func:`. mail_admins`,
497+ :func:`. mail_managers`, :func:`. send_mail`, and :func:`. send_mass_mail`.
500498
501499* All parameters must be passed as keyword arguments when creating an
502- :class:`EmailMessage` or :class:`EmailMultiAlternatives` instance, except for
503- the first four (``subject``, ``body``, ``from_email``, and ``to``), which may
504- still be passed either as positional or keyword arguments.
500+ :class:`. EmailMessage` or :class:`. EmailMultiAlternatives` instance, except
501+ for the first four (``subject``, ``body``, ``from_email``, and ``to``), which
502+ may still be passed either as positional or keyword arguments.
505503
506504Miscellaneous
507505-------------
0 commit comments