question

JulienCHAVEE-4433 avatar image
0 Votes"
JulienCHAVEE-4433 asked KyleXu-MSFT commented

IMAP request limits?

Hi,

We have a PHP application that connects on an M365 email address via IMAP.
Sometimes, our PHP worker is completely frozen, doesn't respond to any kill command (except kill -9 of course).

From the network side, we can see that the TCP connection is established, and from debugging tools, our application is waiting in "READ" mode on the socket (forever, no timeout is working even if its set).

When we kill the worker and restart it, it works again (for few minutes/hours) until freezing again.

What we are wondering, is there any request limit (X requests per min/hour/day/...)? Does Microsoft temporary "blacklisting" us? Anything else...?

Thanks in advance for your help :)

office-outlook-itprooffice-exchange-online-itpro
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @JulienCHAVEE-4433,

Please first understand under Outlook tag, we mainly focus on general issues about Outlook desktop client, considering your issue may be more related to your mailbox limit, I would add relevant exchange online tag so that more relevant experts could provide you with more targeted suggestions.

1 Vote 1 ·
KyleXu-MSFT avatar image
0 Votes"
KyleXu-MSFT answered

@JulienCHAVEE-4433

Here are the limitation about sending emails:
117319-qa-kyle-15-44-51.png


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JulienCHAVEE-4433 avatar image
0 Votes"
JulienCHAVEE-4433 answered KyleXu-MSFT commented

Hi,

Thank you for the answer.
We do not send any email via our PHP application. We only connect, search emails (by subject, sender, receiver, body content) and fetching attachments from emails.
We also move emails.

Is there any limitations on this part? I checked the linked you gave me but I can't see anything related to this part.
Is there any explanations why the opened TCP connection do not receive anything from Microsoft's server? Sometimes we are receiving "Warning : imap_open(): Couldn't open stream {outlook.office365.com:993/imap/ssl/novalidate-cert}" but most of the time the socket does not receive anything that could indicate we can't connect.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

As far as I know, there must be restrictions here. About detailed value, there is no public article explaining this one. If you want to know the detailed limitation, you may need to open a service request to confirm with Microsoft.

0 Votes 0 ·