Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Perl / Getting Started / October 2009



Tip: Looking for answers? Try searching our database.

Problem with function getquotaroot in IMAP::Client

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Shameem Ahamed - 29 Oct 2009 18:47 GMT
Hi,

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

     

Signature

To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Peter Scott - 30 Oct 2009 15:40 GMT
> 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
[quoted text clipped - 5 lines]
> my %quota=$imap->getquotaroot('INBOX') || die $imap->error(); print
> "Quota: $quota{'STORAGE'} \n";

What reason do you have for not believing the message, i.e., that the IMAP
server does not support the QUOTA command?  Do you have some independent
verification that it does?

Signature

Peter Scott
http://www.perlmedic.com/
http://www.perldebugged.com/
http://www.informit.com/store/product.aspx?isbn=0137001274

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.