PostmarkError: Request body larger than maxBodyLength limit
Closed this issue · 2 comments
dcts commented
When I try to send a batch of emails with sendEmailBatch()
and one of the emails has a large body, then the sending of the whole batch fails and I get this error:
PostmarkError: Request body larger than maxBodyLength limit
This seems to be a known issue, it was discussed on StackOverflow. In my opinion this is a bug and can be fixed by setting maxBodyLength
to Infinity
. I did a pull request that fixes this problem. Let me know what you think of this.
Are there any downsides of adapting the maxBodyLength
to Infinity
?
dcts commented
Awesome thanks a lot!