﻿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
26227	Unicode attachment filename displays incorrectly in some clients	Sergey Gornostaev	nobody	"When attaching a file with name containing non ASCII symbols, GMail display this attachment as ""noname"" and Zimbra 8.0.2 as percent-encoded.

{{{
from django.template.loader import get_template
from django.core.mail import send_mail, EmailMultiAlternatives
txt_msg_body = get_template('email.txt').render({})
html_msg_body = get_template('email.html').render({})
msg = EmailMultiAlternatives('Test', txt_msg_body, 'robot@somedomain.ru', ['sputterspark@gmail.com'])
msg.attach_alternative(html_msg_body, ""text/html"")
with open('test.pdf', 'rb') as fh:
    data = fh.read()
msg.attach(u'Имя файла', data, 'application/pdf')
msg.send()
}}}
"	Bug	closed	Core (Mail)	1.9	Normal	invalid	email attachment, filenames, i18n	Thomi Richards milosu Pablo Castellano	Unreviewed	0	0	0	0	0	0
