Stranger6667 / postmarker

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

Add support for Postmark API "MessageStream" option #190

Closed colinhoernig closed 3 years ago

colinhoernig commented 3 years ago

This PR implements support for passing a MessageStream kwarg when sending emails. Without the MessageStream kwarg passed in, Postmark will default to the default transactional message stream. By passing in a MessageStream kwarg with a string value representing the message stream, the consumer of this package can specify a custom message stream to use.

The Postmark API documentation supporting this change can be viewed here: https://postmarkapp.com/developer/user-guide/send-email-with-api

This change was discussed briefly in the postmarker Gitter channel: https://gitter.im/Stranger6667/postmarker?at=5fa9ba3c8a236947ba9642ab

Thank you, Colin

colinhoernig commented 3 years ago

Thank you very much @Stranger6667! 🙌