themartorana/python-postmark — pull request #19 by mattrobenolt (2012-02-25 03:27:58+00:00)
Title: Better bulk sending

This pull request focuses on sending bulk mail properly.

1. The Django backend properly uses the PMBatchMail class instead of iterating over a list.
2. PMBatchMail assures that batch email can only be sent 500 at a time. If more emails are attempted to be sent, messages are broken up into chunks of 500 for sending.

There are also a couple minor things:

1. All requests are done over https instead of http. I don't see why we'd want to use http when https is available for all calls.
2. Adjusted the Django test project to import the `postmark` package from within our directory.
3. Replaced your API key with the proper testing key as documented: http://developer.postmarkapp.com/developer-build.html#authentication-headers