mailjet / mailjet-apiv3-nodejs

[API v3] Official Mailjet API v3 NodeJS wrapper
https://dev.mailjet.com
MIT License
235 stars 69 forks source link

Total batch Email size exceeds individual max Email size #269

Open malee1975 opened 8 months ago

malee1975 commented 8 months ago

Describe the bug The total Email size for MailJet is !5 including attachments. If Emails are batched for example a batch of 4 emails each of a size of 4 MB the API throws a 413 error: "Request Entity Too Large".

To Reproduce Steps to reproduce the behavior:

Send a batch of Emails that exceed 15Mb in total size without a single email exceeding this threshold

Expected behavior It is expected that within a batch that each Email is checked on an individual basis. There appear to be no documentation on batch size limits..

fellmann commented 8 months ago

I received this answer from the mailjet support: