Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
habidat  
#1 Posted : Tuesday, June 4, 2024 12:35:41 PM(UTC)
habidat

Rank: Newbie

Groups: Registered
Joined: 11/8/2022(UTC)
Posts: 1
United States
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 386kb, 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

ivan  
#2 Posted : Monday, June 10, 2024 7:17:26 AM(UTC)
ivan

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.
Users browsing this topic
Guest
Forum Jump  
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.058 seconds.

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.