﻿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
33096	AdminEmailHandler emails blocked by gmail antivirus	Jan Schär	Jan Schär	"Django errror/stack trace emails (django.utils.log.AdminEmailHandler) are blocked by the gmail antivirus with the following messages:

{{{
host gmail-smtp-in.l.google.com[142.250.110.26] said:
    This message was blocked because its content presents a potential
    security issue. Please visit
    https://support.google.com/mail/?p=BlockedMessage to review our
    message content and attachment content guidelines.
}}}

This is caused by the following tag in the html email:

{{{
<form action=""https://dpaste.com/"" name=""pasteform"" id=""pasteform"" method=""post"">
}}}

This worked before, so it is caused by a relatively recent change in gmail's antivirus.
The fix is simply to remove the form tag, which should not have been there anyway.

Patch: https://github.com/django/django/pull/14840"	Bug	closed	Error reporting	3.2	Normal	fixed			Ready for checkin	1	0	0	0	0	0
