Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/core/mail
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #24623 -- Fixed EmailMessage.attach_file() with ↵Konrad Świat2015-07-251-3/+29
| | | | | | text files on Python 3. Thanks tkrapp for the report and Tim Graham for the review.
* Replaced six.BytesIO with io.BytesIOTim Graham2015-07-201-1/+2
|
* Sorted imports in __init__.py files.Tim Graham2015-06-271-8/+7
|
* Removed support for Python 3.3.Tim Graham2015-06-181-8/+1
|
* Fixed #24416 -- Added support for lazy email addresses.medmunds2015-03-131-4/+4
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-063-10/+11
|
* Removed compatibility with Python 3.2.Tim Graham2015-01-171-6/+1
|
* Fixed #23910 -- Added reply_to parameter to EmailMessageMartin Blech2014-11-281-3/+13
| | | | Thanks to Berker Peksag and Tim Graham for the review and suggestions.
* Fixed #23924 -- Made EmailMessage raise TypeError for ↵Martin Blech2014-11-281-3/+6
| | | | type checks
* Removed workaround for lack of os.getpid() in Jython.Tim Graham2014-11-241-12/+14
| | | | | | | | The Jython bug was fixed in http://bugs.jython.org/issue1518 (tested on Jython 2.7b3); also updated make_msgid() to be more like the version in Python 3.2+; refs #23905. Thanks Simon Charette for testing and review.
* Fixed #13694 -- Made SafeMIMEText's constructor ↵Berker Peksag2014-11-241-8/+11
| | | | compatible with MIMEText.
* Fixed #23063 -- Convert \n and \r to \r\n when using the ↵Florian Apolloner2014-10-122-5/+8
| | | | SMTP backend as per RFC.
* Replaced set([foo, ...]) by {foo, ...} literals. Refs PR ↵Thomas Chaumeny2014-09-281-2/+2
| | | | | | 3282. Thanks Collin Anderson for the review.
* Updated comment about Python issueClaude Paroz2014-09-271-1/+1
|
* Fixed #23461 -- Added EMAIL_TIMEOUT settingJosé Padilla2014-09-131-1/+1
|
* Fixed #20743 -- Added support for keyfile/certfile in ↵Andi Albrecht2014-09-101-1/+9
| | | | | | SMTP connections. Thanks jwmayfield, serg.partizan, and Wojciech Banaś for work on the patch.
* Limited lines to 119 characters in django/Tim Graham2014-09-052-3/+9
| | | | refs #23395.
* Fixed several typos in DjangoAlex Gaynor2014-05-291-1/+1
|
* Fixed #22327 -- Turned BaseEmailBackend into a context ↵Daniel Neuhäuser2014-03-311-0/+14
| | | | | | | manager Changed the BaseEmailBackend to allow usage as context manager to open and close connections.
* Fixed #21674 -- Deprecated the import_by_path() function ↵Berker Peksag2014-02-081-2/+2
| | | | | | in favor of import_string(). Thanks Aymeric Augustin for the suggestion and review.
* Undelete the `return True` removed in 4e0a2fe.Marc Tamlyn2014-01-131-0/+1
| | | | | This is quite important otherwise we don't close our connections to the SMTP server.
* Decode mails using the message encoding.Florian Apolloner2013-12-301-3/+5
|
* Changed console and filebackend to use msg.as_bytes to ↵Florian Apolloner2013-12-302-4/+16
| | | | output the data as it would get send via smtp.
* Introduced as_bytes for SafeMIMEText (and other ↵Florian Apolloner2013-12-282-19/+19
| | | | | | | | | | | SafeMIME-classes). 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!
* Worked around a bug in python 3.3.3. Refs #21093Florian Apolloner2013-12-281-1/+8
|
* Fixed #21093 -- Ensured that mails are not base64 ↵Florian Apolloner2013-12-281-41/+30
| | | | | | encoded on python 3.3.3+. Thanks to Arfrever for the report and Aymeric for the review.
* More attacking E302 violatorsAlex Gaynor2013-11-025-0/+5
|
* Fixed #21302 -- Fixed unused imports and import *.Tim Graham2013-11-021-0/+8
|
* Undelete the login() call inadvertantly removed in ↵Claude Paroz2013-10-251-0/+2
| | | | | | 4e0a2fe59c Refs #21271.
* Fixed #21271 -- Added timeout parameter to SMTP ↵SusanTan2013-10-251-18/+18
| | | | | | | EmailBackend. Thanks Tobias McNulty and Tim Graham for discussions and code review. Thanks Andre Cruz the suggestion and initial patch.
* Start attacking E231 violationsAlex Gaynor2013-10-241-1/+1
|
* Whitespace cleanup.Tim Graham2013-10-101-1/+0
| | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
* Used "is" for comparisons with None.Tim Graham2013-10-101-1/+2
|
* Fixed #21189: Cleaned up usage of bare except clauses.Baptiste Mispelon2013-10-052-4/+4
| | | | | Thanks to berkerpeksag for the report and to claudep for the review.
* Fixed #20841 -- Added messages to NotImplementedErrorsGregor MacGregor2013-09-101-1/+1
| | | | Thanks joseph at vertstudios.com for the suggestion.
* Replaced "not PY3" by "PY2", new in six 1.4.0.Aymeric Augustin2013-09-021-1/+1
|
* Fixed #12422 -- Don't override global email charset ↵Ramiro Morales2013-08-211-2/+12
| | | | | | | behavior for utf-8. Thanks simonb for the report, Claude Paroz and Susan Tan for their work on a fix.
* Fixed #18967 -- Don't base64-encode message/rfc822 ↵Ramiro Morales2013-08-211-3/+41
| | | | | | attachments. Thanks Michael Farrell for the report and his work on the fix.
* Fixed #20817 -- Added html_message parameter to ↵Justin Michalicek2013-07-291-3/+7
| | | | django.core.mail.send_mail()
* Fixed #20746 -- Removed Python 2.6 specific code/docsTim Graham2013-07-141-4/+0
|
* Fixed #17471 -- Added smtplib.SMTP_SSL connection option ↵Claude Paroz2013-07-111-18/+20
| | | | | | | for SMTP backend Thanks dj.facebook at gmail.com for the report and initial patch and Areski Belaid and senko for improvements.
* Adds generators support for email backends that do not ↵Brendon Crawford2013-04-043-3/+7
| | | | support it.
* Fixed #17061 -- Factored out importing object from a ↵Claude Paroz2013-02-041-14/+2
| | | | | | dotted path Thanks Carl Meyer for the report.
* Replaced deprecated sslerror by ssl.SSLErrorClaude Paroz2013-01-031-2/+2
| | | | | | The exact conditions on which this exception is raised are not known, but this replacement is the best guess we can do at this point.
* Fixed #19382 -- Stopped smtp backend raising exception ↵Claude Paroz2013-01-031-0/+2
| | | | | | when already closed Thanks Sebastian Noack for the report and the initial patch.
* Fixed #19134 -- Allowed closing smtp backend when the ↵Claude Paroz2013-01-031-2/+3
| | | | | | server is stopped Thanks Sebastian Noack for the report and the initial patch.
* Fixed #19186 -- Fixed sending mail with unicode content ↵Claude Paroz2012-11-141-1/+4
| | | | | | on Python 3 Thanks alex_po for the report and Luke Plant for the analysis.
* Fixed #19107 -- Workarounded message-encoding bug on ↵Claude Paroz2012-10-111-0/+4
| | | | | | Python < 2.6.6 Thanks Bernardo Pires for the report.
* Fixed #18861 -- Triggered message validation with locmem ↵Claude Paroz2012-09-221-0/+2
| | | | | | email backend Thanks Bruno Renié for the report and the initial patch.
* Removed many uses of bare "except:", which were either ↵Alex Gaynor2012-09-071-1/+1
| | | | going to a) silence real issues, or b) were impossible to hit.