Fixed#7747: Altered EmailMessage such that messages with long subje…
…ct lines don't use tabs in their continutation sequence. Tabs in subjects cause problems with Outlook and Thunderbird. Thanks to Mark Allison <email@example.com> for the report and fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
+# Test for space continuation character in long (ascii) subject headers (#7747)
+>>> email = EmailMessage('Long subject lines that get wrapped should use a space continuation character to get expected behaviour in Outlook and Thunderbird', 'Content', 'firstname.lastname@example.org', ['email@example.com'])
+>>> message = email.message()
+'Content-Type: text/plain; charset="utf-8"\nMIME-Version: 1.0\nContent-Transfer-Encoding: quoted-printable\nSubject: Long subject lines that get wrapped should use a space continuation\n character to get expected behaviour in Outlook and Thunderbird\nFrom: firstname.lastname@example.org\nTo: email@example.com\nDate: ...\nMessage-ID: <...>\n\nContent'