IMAP-Client
view release on metacpan or search on metacpan
lib/IMAP/Client.pm view on Meta::CPAN
=item * arguments - Arguments supplied on the command line, if any
=item * environment - Description of environment, i.e., UNIX environment List all the subscriptions for the authorized user for the given mailbox from the given reference.variables or Windows registry settings
=back
None of the keys are required - if the client wishes not to supply information for a key, the key is simply omitted. Not all clients support this extention: Support can be identified by using the capability() command, and verifying the atom "ID" is...
=cut
sub id($%) {
my ($self,%perams) = @_;
my $peramlist;
return($self->throw_error("ID not supported for ID command")) unless ($self->check_capability('ID'));
if (%perams) {
$peramlist = '(';
foreach my $key (keys %perams) {
if (length($key) > 30) { # defined in RFC section 3.3
return ($self->throw_error("Client key [$key] too long: ".length($key)." bytes, max 30 bytes"));
( run in 1.855 second using v1.01-cache-2.11-cpan-5b529ec07f3 )