Rank: Newbie
Groups: Registered
Joined: 11/8/2022(UTC)
Posts: 1
Location: CA
Hi - We are using EASendMail component (7.9.0.9) with MS Graph in a VBA application.
One of our clients is getting this error occasionally: {"code":"ApplicationThrottled","message":"Application is over its IncomingBytes limit."}} when they send emails with attachments, and after checking the number of email sent before the throttle kicks in, and the size of the file attached, it looks to me like they are being throttled prematurely because the data being sent is roughly twice the size it should be.
This is what I see when I send a single email with a small attachment (354kb):
Log Info: 6/4/2024
[13:02:50.548] [C] Connecting
https://graph.microsoft....0/users/xxxxxxx/sendMail ...
[13:02:50.562] [C] Posting data [size:
678660 ] to server ...
[13:02:50.917] The email has been submitted to server successfully, task completed.
When the email is received, it only has the single attachment (as expected), and Outlook reports the email item size as
386 kb, also as expected.
Why is EASendmail sending data (or reporting that is sending data) that is twice the size it should be?
By the way, I've confirmed the same behavior using v7.9.2.1 on my dev system.
Thanks for any assistance.
Ann
Edited by user Tuesday, June 4, 2024 1:34:00 PM(UTC)
| Reason: confirmed behavior is latest verison as well
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,153
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Because the attachment data will be encoded as base64 in rfc822, so 387 becomes 387 * 4/3 = 514, then before uploading the data to graph api server, the entire data is required to be encoded by base64, so 514 becomes 514 * 4/3 = about 680. >> {"code":"ApplicationThrottled","message":"Application is over its IncomingBytes limit."}} I guess that is because the customer sent multiple emails in a short time and the entire bytes of messages are out of the limit.
Forum Jump
EmailArchitect Support
Email Component Development
- EASendMail SMTP Component - .NET Version
- EASendMail SMTP Component - Windows Store Apps
- EASendMail SMTP ActiveX Object
- EAGetMail POP3 & IMAP4 Component - .NET Version
- EAGetMail POP3 & IMAP4 ActiveX Object
Exchange Server and IIS SMTP Plugin
- DomanKeys/DKIM for Exchange Server and IIS SMTP
- Disclaimer and S/MIME for Exchange Server and IIS
EmailArchitect Email Server
- EmailArchitect Email Server (General)
- EmailArchitect Email Server Development
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.