0

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.

Community
  • 1
  • 1
Alien Technology
  • 1,760
  • 1
  • 20
  • 30

2 Answers2

0

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

Rick Sanders
  • 541
  • 1
  • 3
  • 3
0

ImapX allows to send custom commands using the ImapClient.SendAndReceive method.

Pavel Azanov
  • 188
  • 1
  • 11