summaryrefslogtreecommitdiff
path: root/tests/regressiontests/mail
AgeCommit message (Collapse)Author
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner
2013-01-03Fixed #19382 -- Stopped smtp backend raising exception when already closedClaude Paroz
Thanks Sebastian Noack for the report and the initial patch.
2013-01-03Fixed #19134 -- Allowed closing smtp backend when the server is stoppedClaude Paroz
Thanks Sebastian Noack for the report and the initial patch.
2012-12-24Don't rely on dictionary ordering in testsIan Clelland
2012-11-14Fixed #19186 -- Fixed sending mail with unicode content on Python 3Claude Paroz
Thanks alex_po for the report and Luke Plant for the analysis.
2012-09-22Fixed #18861 -- Triggered message validation with locmem email backendClaude Paroz
Thanks Bruno Renié for the report and the initial patch.
2012-08-15Explicitly close a file during the email tests.Alex Gaynor
2012-08-09[py3] Fixed mail tests with Python 3Claude Paroz
2012-08-08[py3] Used compatible imports of StringIO.Aymeric Augustin
2012-06-23Switch to using context managers for acquiring and releasing locks.Alex Gaynor
2012-06-07Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.Claude Paroz
Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review.
2012-06-02Fixed settings override in mail regression testsClaude Paroz
self.settings_override from test subclasses were overwriting parent attribute.
2012-05-19Marked bytestrings with b prefix. Refs #18269Claude Paroz
This is a preparation for unicode literals general usage in Django (Python 3 compatibility).
2012-05-05Made more extensive usage of context managers with open.Claude Paroz
2012-01-15Made email attachment handling code accept non-ASCII filenames.Ramiro Morales
Thanks to Anton Chaporgin for the report and to Claude Paroz for the patch. Fixes #14964. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17375 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-30Fixed #17444 -- Made it possible to customize the 'To' header in emails.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-17Fixed various dodgy behavioursAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-03Fixed #15750 -- Handle empty mail server credentials gracefully. Thanks, ↵Jannis Leidel
LeandroSouza and bedmondmark. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16494 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-18Fixed #15561 -- Extended test setting override code added in r16165 with a ↵Jannis Leidel
decorator and a signal for setting changes. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-07Fixed #11212 -- Stopped using quoted-printable encoding for mails with ↵Jannis Leidel
non-ASCII characters but rely on 8bit encoding instead. Thanks, phr, gisle and Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-30Fixed #11928 -- Added test for tuple to list conversion during mail message ↵Jannis Leidel
initialization added in r11709. Thanks, Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03Updated test assertions that have been deprecated by the move to unittest2. ↵Russell Keith-Magee
In summary, this means: assert_ -> assertTrue assertEquals -> assertEqual failUnless -> assertTrue For full details, see http://www.voidspace.org.uk/python/articles/unittest2.shtml#deprecations git-svn-id: http://code.djangoproject.com/svn/django/trunk@15728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-28Fixed #13433 -- Changed default behavior of Django email message wrappers to ↵Ramiro Morales
not mangle lines starting with 'From '. Thanks Leo for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15669 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-15Fixed #15042 -- Ensured that email addresses without a domain can still be ↵Russell Keith-Magee
mail recipients. Patch also improves the IDN handling introduced by r15006, and refactors the test suite to ensure even feature coverage. Thanks to net147 for the report, and to Łukasz Rekucki for the awesome patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21Fixed #14301 -- Further refine changes made in r14216 to support non-ASCII ↵Jannis Leidel
characters in email addresses. Thanks, Claude Peroz and Andi Albrecht. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-06Fixed #10863 -- Added HTML support to mail_managers() and mail_admins(), and ↵Russell Keith-Magee
used this to provide more and prettier detail in error emails. Thanks to boxed for the suggestion, and to Rob Hudson and Brodie Rao for their work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-14Fixed #14301 -- Handle email validation gracefully with email addresses ↵Jannis Leidel
containing non-ASCII characters. Thanks, Andi Albrecht. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11Fixed #13494 -- Correctly concat an email subject prefix with a translation ↵Jannis Leidel
string. Thanks, hcarvalhoalves and Andi Albrecht. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11Fixed #14440 - Converted mail doctests to unittests.Jacob Kaplan-Moss
Thanks to Rob Hudson for the patch and also to andialbrecht who filed a similar patch that I didn't use. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-07Fixed #7722 - added support for CC in EmailMessage.Luke Plant
Thanks to roberto.digirolamo for the report and initial patch, and dougvanhorn and SmileyChris for further work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-01Fixed #13259 -- Ensure that multiple calls to message() don't corrupt any ↵Russell Keith-Magee
extra message headers. Thanks to canburak for the report, and Andi Albrecht for the fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-06Fixed #6918: Adjusted the test in r12683 to more specifically look for what ↵Karen Tracey
it is testing so it doesn't get thrown off by other minor differences in email ouput (hopefully). Also put a docstring back in its place. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12688 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-05Fixed #6918, #12791: If an email message has an encoding, actually use that ↵Karen Tracey
encoding to encode body and headers. Thanks for patch with tests oyvind. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12683 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-04Modified the way EMAIL_BACKEND is specified to make it consistent with the ↵Russell Keith-Magee
new "use the class name" policy for backends. This is a BACKWARDS-INCOMPATIBLE CHANGE for anyone using a manually specified EMAIL_BACKEND setting. If you have manually specified EMAIL_BACKEND, you will need to append ".EmailBackend" to your existing EMAIL_BACKEND setting. See the django-dev mailing list for details. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-04Fixed #11144 -- When a to/from/cc header contains unicode, make sure the ↵Russell Keith-Magee
email addresses are parsed correctly (especially with regards to commas). Thanks to rmt for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-03Fixed #10355 -- Added an API for pluggable e-mail backends.Russell Keith-Magee
Thanks to Andi Albrecht for his work on this patch, and to everyone else that contributed during design and development. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-25Fixed #11546 -- Modified the mail regression test to avoid getting hung up ↵Russell Keith-Magee
on 32/64 bit differences. Thanks to Richard Davies for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-12Fixed #9367 - EmailMultiAlternatives does not properly handle attachments.Luke Plant
Thanks to Loek Engels for the bulk of the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-16Fixed #9214: EmailMessage now respects the From header instead of blindly ↵Jacob Kaplan-Moss
using from_email. Thanks, Tai Lee. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24Fixed #9383 -- Don't open a network connection for sending email if there'sMalcolm Tredinnick
nothing to send. Saves a bit of time when, for example, processing 500-error emails with no ADMINs configured. Based on a patch from Jesse Young. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9248 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07Fixed #9233 -- Allow date and message-id headers to be passed in manually inMalcolm Tredinnick
email messages. Previously we were creating duplicate headers, which was bad. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-24Fixed #8511: Removed some tests that were failing on Python 2.4, but weren't ↵Russell Keith-Magee
really contributing anything anyway. Thanks to jarrow for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-23Fixed #7747: Altered EmailMessage such that messages with long subject lines ↵Russell Keith-Magee
don't use tabs in their continutation sequence. Tabs in subjects cause problems with Outlook and Thunderbird. Thanks to Mark Allison <mark.allison@maplecroft.com> for the report and fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-26Fixed #7574 -- Fixed the handling of lazy translation in email headers.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19Fixed #7773 -- Added some simple tests for EmailMessage. Thanks to serialx ↵Russell Keith-Magee
for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7975 bcc190cf-cafb-0310-a4f2-bffc1f526a37