Stranger6667 / postmarker

Python client library for Postmark API
https://postmarker.readthedocs.io/en/stable/
MIT License
134 stars 29 forks source link

Django backend could return wrong number of sent messages #122

Closed Stranger6667 closed 7 years ago

Stranger6667 commented 7 years ago

In case if some messages were bounced, and were not sent backend anyway will return total number of messages, that were passed to send_messages.

The problem is, that postmark will not rise any exceptions if batch send will be used. Thus, I see the following options:

And any way count only successfully sent messages.