-
Hello, I want to monitor the inbox folder of a mailbox with up to 2500 messages in that folder. The loop
takes about 50 seconds to finish. The point is that I am not interested in the e-mails themselves, I just want to know the received time to check if some e-mails have been too long in the folder. When using the exchangelib module in place of the O365 module, there is the only() method to not fetch everything but just the attributes I need:
The use of only() significantly decreases the time needed to get the messages from the folder. Unfortunately, I could not find anything similar in O365. Or did I miss something? Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Use select! |
Beta Was this translation helpful? Give feedback.
Use select!