Date: | Tue, 05 Nov 2002 13:36:46 -0500 |
From: | "John W. Sopko Jr." <sopko [...] cs.unc.edu> |
To: | bug-Mail-IMAPClient [...] rt.cpan.org |
Subject: | List "" "" command problem |
--
John W. Sopko Jr. University of North Carolina
email: sopko@cs.unc.edu Computer Science Dept., CB 3175
Phone: 919-962-1844 Sitterson Hall; Room 135
Fax: 919-962-1799 Chapel Hill, NC 27599-3175
I am trying to send the following to the imap server:
LIST "" ""
To get the servers delimeter characters as specified in rfc2060.
I cannot figure out how to quote your list method. Thought this might
be a bug.
Here is what I tried:
Perl call:
----------
$newDelim = $newimap->list("","");
Debug output:
-------------
Sending: 2 LIST ""
Sent 12 bytes
Read: 2 BAD Unexpected extra arguments to List
Perl call:
----------
$newDelim = $newimap->list(qq(""),qq(""));
Debug output: (needs to be a space between double quotes: "" "")
-------------
Sending: 3 LIST """"
Sent 14 bytes
Read: 3 BAD Missing required argument to List
Perl call:
----------
$newDelim = $newimap->list($newimap->Quote(""),$newimap->Quote(""));
Debug output: (Returns entire list of mail boxes)
-------------
Sending: 2 LIST "" *