develooper Front page | perl.beginners | Postings from October 2009

Problem with function getquotaroot in IMAP::Client

Thread Previous | Thread Next
Shameem Ahamed
October 29, 2009 10:47
Problem with function getquotaroot in IMAP::Client
Message ID:

I am using the IMAP::Client for automating the quota check for some of the users. My script was fairly straight,  and I ran in to the below error, while running the script. The error returned by the   $imap->error  function is 

QUOTA not supported for GETQUOTAROOT command at 

As per the function description given in the page 

The  getquotaroot function accepts the mail box name only. 

My code snippet is given below 

my %quota=$imap->getquotaroot('INBOX') || die $imap->error();
print "Quota: $quota{'STORAGE'} \n"; 

Please help me to debug this issue. 



Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About