﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36908	"Email docs ""quick example"" shows unnecessary `fail_silently` param"	Mike Edmunds	SnippyCodes	"The [https://docs.djangoproject.com/en/6.0/topics/email/#quick-examples ""Quick examples""] section in the email docs includes `fail_silently=False`:

{{{#!python
from django.core.mail import send_mail

send_mail(
    ""Subject here"",
    ""Here is the message."",
    ""from@example.com"",
    [""to@example.com""],
    fail_silently=False,
)
}}}

`fail_silently` is an optional param defaulting to `False`. Showing it in the ""straightforward"" example suggests it's required or has some other default, encouraging users to unnecessarily include it in their own code. We should remove it from the example.

With the current django.core.mail implementation this isn't a huge deal, but needless use of `fail_silently` may interact poorly with other changes being contemplated in the email code (#35514)."	Cleanup/optimization	closed	Documentation	6.0	Normal	fixed	docs email fail_silently		Ready for checkin	1	0	0	0	0	0
