Postmark: Fix sending templated email to a single recipient

Fix a bug where sending an email with a template_id and a single to address
would cause a Postmark API error.

Thanks @jc-ee for finding and fixing.
This commit is contained in:
jc-ee
2020-04-13 21:48:37 +01:00
committed by GitHub
parent 920d8dd70f
commit 2a36da54e6
3 changed files with 40 additions and 2 deletions

View File

@@ -33,6 +33,8 @@ vNext
Fixes
~~~~~
* **Postmark:** Fix API error when sending with template to single recipient.
(Thanks to `@jc-ee`_ for finding and fixing the issue.)
* **SendGrid:** Allow non-batch template send to multiple recipients when
`merge_global_data` is set without `merge_data`. (Broken in v6.0. Thanks to
`@vgrebenschikov`_ for the bug report.)
@@ -1026,6 +1028,7 @@ Features
.. _@ewingrj: https://github.com/ewingrj
.. _@fdemmer: https://github.com/fdemmer
.. _@janneThoft: https://github.com/janneThoft
.. _@jc-ee: https://github.com/jc-ee
.. _@joshkersey: https://github.com/joshkersey
.. _@Lekensteyn: https://github.com/Lekensteyn
.. _@lewistaylor: https://github.com/lewistaylor