|
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, |
Answered by
alejcas
Oct 14, 2022
Replies: 1 comment 1 reply
|
Use select! |
1 reply
Answer selected by
alejcas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use select!