Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Total batch Email size exceeds individual max Email size #269

Open
malee1975 opened this issue Jan 19, 2024 · 1 comment
Open

Total batch Email size exceeds individual max Email size #269

malee1975 opened this issue Jan 19, 2024 · 1 comment

Comments

@malee1975
Copy link

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
Copy link

I received this answer from the mailjet support:

  • you can make a total of 500 calls per 10-second time window
  • you can have up to 50 individual emails in a single call or up to 50 individual recipients (To, CC, BCC); you can combine the number of emails with the number of total recipients in the call to any sum not larger than 50 (i.e. 20 separate emails, each with a To: recipient + 10 of the emails also having a single CC recipient, for a total of 50 messages and/or recipients)
  • the entirety of the payload sent (body + headers) must not exceed 15 mb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants