Mail::Box::IMAP updates
Tom Allison <[email protected]> Sun, 19 Dec 2004 21:02:17 -0500
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Message-ID | <[email protected]> |
Well, I would like to think I've made some progress.
But this is where I'm at with using Mail::Box::IMAP4
I can create a folder using something like
$client = new Mail::IMAPClient(...)
$imap Mail::Box::IMAP4->new(imap_client=>$client
, folder => 'INBOX');
print join ("\n", $imap->messageIds);
$imap->close
This throws the error:
Not an ARRAY reference at /usr/share/perl5/Mail/Transport/IMAP4.pm line 268
This seems to be related to my $imap->close statement and it fairly
consistent. I guess this is just a comment for Mark Overmeer.
A question that I have with this is how do I turn up the debugging for
the $imap object identified above? I was able to debug the
Mail::Box::Manager's IMAP interface, but I can't seem to duplicate that
here.
Also, is there a mailing list for HTML::FromMail?
What I'm really after is trying to use the Mail::Box architecture to
build an IMAP webclient that runs with HTML::Mason. From what I've done
so far with the directories and other searches, the combination of
Mail::Box (Mail::IMAPClient) and HTML::Mason creates an extremely high
performance interface. I have looked into the various methods of Mail
to HTML and quite frankly they all give me a headache. MIME is
fantastically ugly.