Get the size of a mailbox

Hello,

I need to extract the size of the mailbox to check if it is almost full.
Maybe there is no activity for that but could somebody please help me with some VB code or something else?

Thank you so much,
Vlad

@VladTof,

Yes, you’re correct, there is no activity for this.
we can do recording, plz follow below url and do recording to know size of our mailbox.

Cheers,
Pankaj

Thank you for your reply but I forget to specify that I want to do that using code and not the interface.

@VladTof,

No problem…
Here is a link… I dont know how useful this is. Never tried

https://www.e-iceblue.com/Knowledgebase/Spire.Email/Spire.Email-Program-Guide/Get-Mailbox-Information-in-C-VB.NET.html

Plz search like above in google. U will get

Cheers,
Pankaj