|
1 | | -__version__ = '0.2.0' |
| 1 | +__version__ = '0.2.1' |
2 | 2 | __author__ = "Dave Martorana (http://davemartorana.com) & Richard Cooper (http://frozenskys.com)" |
3 | | -__date__ = '2010-April-14' |
| 3 | +__date__ = '2011-January-31' |
4 | 4 | __url__ = 'http://postmarkapp.com' |
5 | 5 | __copyright__ = "(C) 2009-2010 David Martorana, Wildbit LLC, Python Software Foundation." |
6 | | -__contributors__ = "Dave Martorana (themartorana), Bill Jones (oraclebill), Richard Cooper (frozenskys)" |
| 6 | +__contributors__ = "Dave Martorana (themartorana), Bill Jones (oraclebill), Richard Cooper (frozenskys), Miguel Araujo (maraujop)" |
7 | 7 |
|
8 | 8 | __doc__ = ''' |
9 | 9 |
|
|
15 | 15 | Contributors: ''' + __contributors__ + ''' |
16 | 16 |
|
17 | 17 | CHANGE LOG: |
| 18 | + Version 0.2.1 |
| 19 | + - Merged in POSTMARK_TEST_MODE Django setting from maraujop |
18 | 20 | Version 0.2.0 |
19 | 21 | - Merged with frozenskys/master to bring in PMBounceManager |
20 | 22 | - Support for multiple to/cc (limit: 20 per) |
|
70 | 72 | to your settings.py file, and when you create a new PMMail object, |
71 | 73 | it will grab the API key automatically. |
72 | 74 | |
| 75 | + Using POSTMARK_TEST_MODE=True will not actually send the email, but |
| 76 | + instead dump the JSON packet that would be sent to Postmarkapp.com. |
| 77 | + By default this setting is False, and if not specified, will |
| 78 | + be assumed to be False. |
| 79 | + |
| 80 | + To reoute all Django E-Mail functions like send_mail() and |
| 81 | + mail_admins() through postmark use the following setting: |
| 82 | +
|
| 83 | + EMAIL_BACKEND = 'postmark.django_backend.EmailBackend' |
| 84 | +
|
| 85 | + But keep in mind that even when using standard Django functions |
| 86 | + the sender must be registered with postmarkapp.com. |
73 | 87 |
|
74 | 88 | EXCEPTIONS: |
75 | 89 | PMMailMissingValueException(Exception): |
|
0 commit comments