hello there,
I wrote a skript on Debian Lenny with Mail::IMAPClient and it works fine
but the destiny server is an Debian etch system
so i copy it on a test etch system and it doesn't work very well...
print Dumper $imap->folders(); $folder="INBOX"; if($imap->selectable($folder)){ print "entrace the inbox\n"; $imap->select($folder) or die "Could not select: $@\n"; }

error mesage for ->folders() line:
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Mail/IMAPClient.pm line 2168.

error message for ->select() line:
3 BAD Unknown command d6if512534fga.8

i don't no why it's wrong
i have read the IMAPClient.pm again and again and again
the functions are there but it fails
is this a known problem
or i am so stupid ^^?!
Virtuelle/live machine(s) (etch):
dpkg -l | grep libmail => libmail-imapclient-perl 2.2.9+deb-4

Local machine (Lenny):
dpkg -l | grep libmail => libmail-imapclient-perl 3.08-2

it's very annoying that it works on lenny but not on etch the problem is i can't change the versions on the destiny machines, no permission ....

In reply to Mail::IMAPClient + Folder by Dawit

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.