Posted on 2009-10-29 14:26:02-07 by shammi
Problem with function getquotaroot
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 imap.pl As per the function description given in the page http://search.cpan.org/~conteb/IMAP-Client-0.13/lib/IMAP/Client.pm 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. Regards, Shameem
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.