'How to get "their mailbox is full" Exchange user's tooltip via Outlook COM?

What I need is to check if Exchange user's mailbox is available. I am doing it in python (accessing outlook by:

import win32com.client as win32
outlook = win32.DispatchEx('Outlook.Application').GetNamespace("MAPI")

For that I got used ".Resolved" property checking after connecting to GAL (Global Address List):

rec = outlook.CreateRecipient(who)
rec.Resolve()

I need clean (without any logging to Exchange server) solution, only by getting Outlook's COM to check the tooltip that is showing when a message is displayed - is it available there? The full message with the user's full mailbox is:

"We won't be able to deliver this message to: [x]. Their mailbox is full".

I have found so far the method to get OOF, but it's not about my goal. https://docs.microsoft.com/en-us/office/vba/api/Outlook.ExchangeUser.GetFreeBusy

And also : https://docs.microsoft.com/en-us/dotnet/api/exchangewebservices.mailtips?view=exchange-ews-proxy

Thank you for any advices (in vba or python, please).



Solution 1:[1]

You would need to use either EWS for that (GetMailTips operation) or Graph (user: getMailTip)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dmitry Streblechenko