medmunds
780d4f98f7
use_template_subject and use_template_from
...
Change "clear_subject" and "clear_from" to clarify expected usage.
Update docs.
Acknowledge contribution.
2014-05-28 21:09:28 -07:00
medmunds
78ff0af229
Merge branch 'feature/use-mandrill-template-defaults' of git://github.com/nikolay-saskovets/Djrill into nikolay-saskovets-feature/use-mandrill-template-defaults
2014-05-28 20:42:36 -07:00
Mike Edmunds
66ae927b4c
Merge pull request #65 from winhamwr/unicode_attachments
...
`UnicodeEncodeError` with unicode attachments
2014-05-28 09:03:12 -07:00
nikolay.saskovets
3eb4582449
fix test
2014-05-16 07:57:53 -04:00
nikolay.saskovets
0e27a62f3c
prepare for PR to mainstream (tests, docs, ...)
2014-05-16 07:37:51 -04:00
nikolay.saskovets
c3420d156e
ability to use default Mandrill subject and from fields
2014-05-16 06:57:58 -04:00
winhamwr
f2a08894fa
Fixed python 3.2 compatibility.
2014-04-23 18:37:46 -04:00
winhamwr
70dc022f77
Handle unicode attachment content in both python 2.X and python3.
2014-04-23 16:59:48 -04:00
winhamwr
4e0a0cca71
Added failing test showing that unicode attachments cause an error
2014-04-23 15:52:05 -04:00
Mike Edmunds
a5205786c7
Merge pull request #64 from kylegibson/issue_64
...
Require at least requests 1.0.0
2014-04-22 08:50:09 -07:00
Kyle Gibson
1c92edc665
Refs #64 . Fixed requirement specification for requests
2014-04-21 13:43:45 -04:00
Kyle Gibson
07659aa121
Added Kyle Gibson to authors
2014-04-21 13:40:16 -04:00
Kyle Gibson
9eb8d13c3d
Refs #64 . Pegged requests to at least 1.0.0
2014-04-21 13:37:54 -04:00
medmunds
8815601b65
Use override_settings rather than mucking with settings in tests
...
Second attempt to address possible test sequencing issue around tests that alter settings. (Failures in Travis tests not reproducible locally.)
Back-ports override_settings from Django 1.4 for compatibility with Django 1.3.
2014-04-20 16:04:31 -07:00
medmunds
ea2499f92f
Fix possible test-sequencing issue in DjrillMandrillSubaccountTests
2014-04-20 15:03:49 -07:00
medmunds
3cfcc34bc1
Oops: don't test Django 1.7b1 under Python 2.6
2014-04-20 15:03:09 -07:00
medmunds
1e39e4d5c8
Start testing Django 1.7b1
2014-04-20 14:45:29 -07:00
medmunds
28c5a3a742
Fix PendingDeprecationWarning for cycle tag on Django 1.6+
2014-04-20 14:44:25 -07:00
medmunds
76a90cdf04
Use django.test.runner.DiscoverRunner on Django 1.6+
2014-04-20 13:56:20 -07:00
medmunds
09fe0b0e12
Open 1.1 development
2014-04-20 13:43:27 -07:00
medmunds
0afb90389b
Prep for 1.0 release
2014-04-20 13:35:07 -07:00
medmunds
ba2302ae56
Subaccounts: Document setting; verify message option overrides global setting
2014-04-20 12:57:08 -07:00
Mike Edmunds
7e928dcaba
Merge pull request #62 from expa/master
...
add subaccount support to djrill
2014-04-20 12:17:37 -07:00
Sameer Al-Sakran
3c7a69873f
fix tests + add base send test
2014-04-14 11:45:24 -07:00
Michael Hobbs
21e8727b1d
use MANDRILL_SUBACCOUNT to match the API field
2014-04-11 14:24:31 -07:00
Sameer Al-Sakran
cd8c2b8760
add subaccount support to djrill
2014-04-11 13:15:09 -07:00
Mike Edmunds
956e45bfcb
Correct Django template example
...
Fixes #60 .
2014-03-08 10:40:55 -08:00
medmunds
1707e2a665
Open dev branch for 1.0
2014-01-25 13:05:34 -08:00
medmunds
6d7e14ffc4
Fix links to outdated 'master' in RTD.
...
ReadTheDocs hosts master (dev branch) docs under /latest.
(Old /master was not building regularly.)
2014-01-25 12:44:32 -08:00
medmunds
d7c06bb576
Better handling for cc and bcc recipients.
...
Fixes #59 .
2014-01-25 12:35:23 -08:00
medmunds
1e44392b13
Allow all extra message headers in send.
...
Mandrill has relaxed previous API restrictions on headers.
Fixes #58 .
2014-01-25 11:58:12 -08:00
medmunds
6ebd5d1342
Docs: remove references to "approved sending domains".
...
Mandrill dropped the requirement for pre-approving the from_email address a while back.
2014-01-25 11:36:46 -08:00
medmunds
ec7a302252
Master is now 0.9dev
2014-01-12 11:28:54 -08:00
medmunds
881b4842ff
Prep for 0.8 release
2014-01-12 11:14:33 -08:00
medmunds
3a080bf557
Require Django>=1.3
...
Djrill is known not to work on Django 1.2. (You could probably backport it without too much difficulty, but you would also run into requests compatibility issues.)
2014-01-12 11:02:54 -08:00
Mike Edmunds
cd03ab691c
Merge pull request #55 from erichennings/master
...
Add mandrill_response property to EmailMessage
2014-01-12 10:50:04 -08:00
Eric Hennings
3a6f3ec4c4
Fix tests broken for python 3.0 (no u’strings’)
2014-01-06 08:33:36 -08:00
Eric Hennings
e1c78ec197
Add the Mandrill send API response to EmailMessage as a property, mandrill_response, when a message is sent. For errors, set mandrill_response to None. Add tests & docs.
2013-12-22 14:12:57 -08:00
Mike Edmunds
08141a3003
Merge pull request #53 from zsiciarz/patch-1
...
Fixed link to Github in the docs.
2013-11-26 07:49:32 -08:00
Zbigniew Siciarz
30b5ef3016
Fixed link to Github in the docs.
2013-11-26 11:30:36 +01:00
medmunds
b1b049962c
Django 1.6 released
2013-11-09 10:43:40 -08:00
medmunds
551de88604
Start 0.8 development
...
[ci skip]
2013-10-20 10:50:30 -07:00
medmunds
cb802a2b7e
Docs: note added in 0.7 for new send options.
2013-10-19 13:32:09 -07:00
medmunds
12426204a5
Support important, view_content_link, return_path_domain, subaccount.
...
Closes #49 .
2013-10-19 13:24:56 -07:00
medmunds
b26ba42e77
Support async, ip_pool, and send_at.
...
Closes #40 .
Closes #48 .
2013-10-19 13:09:05 -07:00
medmunds
f565a4c294
Mandrill requires template_content field for send-template.
...
Fixes #47 .
2013-10-19 11:41:20 -07:00
medmunds
43dd289a16
Test against Django 1.6b4
2013-10-19 11:26:34 -07:00
Mike Edmunds
d5ff61e710
Merge pull request #45 from texastribune/support-html-alternate-content
...
Fix: Djrill assumes message content type is text
2013-10-19 11:12:07 -07:00
crccheck
393d6e7fa8
Fix: html messages were sent as text
...
If you followed the instructions at:
<https://docs.djangoproject.com/en/1.5/topics/email/#sending-alternative-content-types >,
djrill would send the body as 'text' instead of 'html', resulting in
ugly emails.
This also fixes how `[auto_text]` could be set, but couldn't do anything.
If you wanted to use `auto_text=True`, you would have to send a null
body and then `attach_alternative` your real body. I didn't add a test
case for this because they're like... orthogonal..., and gets into
behavior testing vs unit testing.
[auto_text]: https://djrill.readthedocs.org/en/master/usage/sending_mail/#auto_text
2013-09-26 15:32:55 -05:00
crccheck
f5465700a8
Add: failing test for html only messages
2013-09-26 15:31:28 -05:00