jstedfast / MailKit

A cross-platform .NET library for IMAP, POP3, and SMTP.

Home Page:http://www.mimekit.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get mailbox Size using pop3

usamasarfraz opened this issue · comments

How can we get mailbox size (in bytes) using mailkit pop3 just like we get using STAT command.
In logs we are getting mailbox size but in mailkit we didn't found any method or property to get this.


C: STAT
S: +OK 3376 5720744


Looks like Pop3Client caches the data but doesn't provide a property. I can add one.

How long it will take to add this property ?

The biggest hurdle to adding this is deciding on the name to use for the property. It should be quick & easy to add because there is already a member variable that contains the value.

The STAT command displays the number of messages currently in the mailbox and the size in bytes.
So you can name this property as size.