Is it possible to get the used & total or free space for a Gmail account using ImapX 2?
According to https://stackoverflow.com/a/15390448 Gmail supports the Quota Extension for IMAP, although I didn't see a way to send a custom command via ImapX.
Is it possible to get the used & total or free space for a Gmail account using ImapX 2?
According to https://stackoverflow.com/a/15390448 Gmail supports the Quota Extension for IMAP, although I didn't see a way to send a custom command via ImapX.
I'm not familiar with ImapX but here's a Perl script that reads a user's quota using GETQUOTAROOT.
./get_quota.pl imap.gmail.com:993 user password
usage 241047
quota 15728640
http://www.athensfbc.com/public/get_quota
-Rick
ImapX allows to send custom commands using the ImapClient.SendAndReceive
method.