| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-10-12 | Fixed #27333 -- Prevented BASE64 encoding in message.as_string() on Python 3 | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2016-10-12 | Removed redundant usage of assertNotIn() in a mail test. | Tim Graham | |
| The Content-Transfer-Encoding header won't be repeated, so checking the header is sufficient. | |||
| 2016-09-30 | Refs #27210 -- Fixed isolation of test_fail_silently_on_connection_error. | Tim Graham | |
| The test wouldn't pass if a mail server is running on the system. | |||
| 2016-09-27 | Fixed #27210 -- Allowed SMTPBackend to fail silently on a socket connection ↵ | Vesteinn Snaebjarnarson | |
| error. | |||
| 2016-09-21 | Fixed #26210 -- Prevented SMTP backend from trying to send mail after a ↵ | levental | |
| connection failure. | |||
| 2016-08-31 | Fixed #27131 -- Passed proper string type to SMTP connection login | Claude Paroz | |
| Passing an Unicode string on Python 2 was crashing the connection. Thanks slavugan@gmail.com for the report, and Tim Graham for the review. | |||
| 2016-08-12 | Fixed #27007 -- Handled non-UTF-8 bytes objects for text/* attachments. | Michael Schwarz | |
| The fallback logic which allows non-UTF-8 encoded files to be passed to attach_file() even when a `text/*` mime type has been specified is moved to attach(). Both functions now fall back to a content type of `application/octet-stream`. A side effect is that a file's content is decoded in memory instead of opening it in text mode and reading it into a string. Some mimetype-related logic in _create_attachment() has become obsolete as the code moved from attach_file() to attach() already handles this. | |||
| 2016-08-08 | Fixed #27036 -- Made locmem email backend's send_messages() accept generators. | Antoine Fontaine | |
| 2016-08-07 | Refs #27007 -- Enhanced mail text attachment test | Michael Schwarz | |
| The test now also checks whether the sent message's attachment has the expected name, content and mime type. | |||
| 2016-07-08 | Fixed #26802 -- Prevented crash when attaching bytes as text message | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2016-06-16 | Fixed #26747 -- Used more specific assertions in the Django test suite. | Jon Dufresne | |
| 2016-06-06 | Refs #26712 -- Removed workarounds for PostgreSQL queries on TIME_ZONE changes. | Simon Charette | |
| 2016-06-04 | Fixed #12666 -- Added EMAIL_USE_LOCALTIME setting. | Anton I. Sipos | |
| When EMAIL_USE_LOCALTIME=True, send emails with a Date header in the local time zone. | |||
| 2016-05-06 | Fixed #25986 -- Fixed crash sending email with non-ASCII in local part of ↵ | Sergei Maertens | |
| the address. On Python 3, sending emails failed for addresses containing non-ASCII characters due to the usage of the legacy Python email.utils.formataddr() function. This is fixed by using the proper Address object on Python 3. | |||
| 2016-04-19 | Fixed #22561 -- Prevented too long lines in email messages | Claude Paroz | |
| Thanks NotSqrt for the excellent report and Tim Graham for the review. | |||
| 2016-04-08 | Fixed E128 flake8 warnings in tests/. | Tim Graham | |
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaisesMessage in tests. | Hasan | |
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | |
| 2015-09-12 | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | |
| 2015-07-25 | Fixed #24623 -- Fixed EmailMessage.attach_file() with text files on Python 3. | Konrad Świat | |
| Thanks tkrapp for the report and Tim Graham for the review. | |||
| 2015-06-22 | Fixed #24970 -- Added --managers and --admins options to the sendtestemail ↵ | Rolo | |
| management command. | |||
| 2015-06-05 | Cleanup: Removed the try-except-fail antipattern from tests | Shai Berger | |
| Found cases where testing code was doing try: whatever except (some excption type): self.fail("exception shouldn't be thrown") replaced it with just whatever as this makes the unexpected errors easier to debug, and the tests would fail just as much and aren't rendered less readable. Thanks Markus Holtermann for review | |||
| 2015-05-18 | Refs #23763 -- Fixed SMTPServer Python 3.5 deprecation warning in mail test. | Tim Graham | |
| 2015-03-20 | Removed unused imports. | Tim Graham | |
| 2015-03-20 | Adapted sendtestemail to be more argparse-ish | Claude Paroz | |
| 2015-03-20 | Removed unused import. | Tim Graham | |
| 2015-03-20 | Used testing domain names in mail tests per rfc2606. | Tim Graham | |
| 2015-03-20 | Fixed #24419 -- Added sendtestemail management command | Loek van Gent | |
| 2015-03-13 | Fixed #24416 -- Added support for lazy email addresses. | medmunds | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-02-03 | Fixed #24149 -- Normalized tuple settings to lists. | darkryder | |
| 2014-12-06 | Refs #23947 -- Isolated a mail test. | Diego Guimarães | |
| 2014-11-28 | Fixed #23910 -- Added reply_to parameter to EmailMessage | Martin Blech | |
| Thanks to Berker Peksag and Tim Graham for the review and suggestions. | |||
| 2014-11-27 | Fixed #23924 -- Made EmailMessage raise TypeError for type checks | Martin Blech | |
| 2014-11-03 | Fixed #21281 -- Made override_settings act at class level when used as a ↵ | Thomas Chaumeny | |
| TestCase decorator. | |||
| 2014-11-03 | Fixed #23620 -- Used more specific assertions in the Django test suite. | Berker Peksag | |
| 2014-10-15 | Fixed a flake8 warning. | Simon Charette | |
| 2014-10-12 | Fixed #23063 -- Convert \n and \r to \r\n when using the SMTP backend as per ↵ | Florian Apolloner | |
| RFC. | |||
| 2014-09-13 | Fixed #23461 -- Added EMAIL_TIMEOUT setting | José Padilla | |
| 2014-09-10 | Fixed #20743 -- Added support for keyfile/certfile in SMTP connections. | Andi Albrecht | |
| Thanks jwmayfield, serg.partizan, and Wojciech Banaś for work on the patch. | |||
| 2014-05-28 | Fixed several typos in Django | Alex Gaynor | |
| 2014-05-15 | Harmonized some PEP 0263 coding preambles | Claude Paroz | |
| 2014-03-31 | Fixed #22327 -- Turned BaseEmailBackend into a context manager | Daniel Neuhäuser | |
| Changed the BaseEmailBackend to allow usage as context manager to open and close connections. | |||
| 2014-03-30 | Corrected many style guide violations that the newest version of flake8 catches | Alex Gaynor | |
| 2014-03-03 | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | |
| Thanks Piotr Kasprzyk for help with the patch. | |||
| 2014-01-12 | Be more careful about closing connections in mail tests. | Marc Tamlyn | |
| 2014-01-12 | Undelete the `return True` removed in 4e0a2fe. | Marc Tamlyn | |
| This is quite important otherwise we don't close our connections to the SMTP server. | |||
| 2013-12-30 | Changed console and filebackend to use msg.as_bytes to output the data as it ↵ | Florian Apolloner | |
| would get send via smtp. | |||
| 2013-12-28 | Introduced as_bytes for SafeMIMEText (and other SafeMIME-classes). | Florian Apolloner | |
| This is to provide a consistent interface (namely bytes) for the smtp backend which after all sends bytes over the wire; encoding with as_string yields different results since mails as unicode are not really specified. as_string stays for backwardscompatibilty mostly and some debug outputs. But keep in mind that the output doesn't match as_bytes! | |||
| 2013-12-23 | Imported override_settings from its new location. | Aymeric Augustin | |
