﻿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
19637	AdminEmailHandler doesn't fail silently	Luc Saffre	nobody	"The AdminEmailHandler should fail silently (i think that's intended behaviour because e.g. a wrong email address would cause recursive tracebacks).

But in today's development version (Django 1.6.dev20130119072716) it doesn't.

The emit() method says:

{{{
        mail.mail_admins(subject, message, fail_silently=True,
                         html_message=html_message,
                         connection=self.connection())

}}}

But the fail_silently=True parameter is being ignored because 2 lines later in the code you have::

{{{
    def connection(self):
        return get_connection(backend=self.email_backend)

}}}

This should probably be (at least it worked for me)::

{{{
    def connection(self):
        return get_connection(backend=self.email_backend,fail_silently=True)

}}}


"	Bug	closed	Core (Other)	dev	Normal	fixed	regression		Accepted	0	0	0	0	0	0
