Email-Folder-IMAP - Correct name for Inbox with Courier IMAP

Posted on Mon Apr 30 12:44:14 2007 by crishog
Correct name for Inbox with Courier IMAP
I'm trying to use a 3rd party tool to read a mailbox & parse then emails for input to a wiki. The sole parameter is a string like: imap://twiki:XXXX@brightcarvings.com

If I leave it like that I get:
substr outside of string at /usr/lib64/perl5/site_perl/5.8.8/Email/Folder/IMAP.pm line 34, <GEN0> l +ine 2.


If I put: imap://twiki:XXXX@brightcarvings.com/

I get:
imap://twiki:XXXX@brightcarvings.com/ does not exist at /usr/lib64/perl5/site_perl/5.8.8/Email/Fold +er.pm line 81


I try: imap://twiki:XXXX@brightcarvings.com/INBOX

and I get nothing back, no error or email. The Imap service is Courier & I take it I am specifying the inbox incorrectly. Can someone tell me what I should be feeding in? Or is there a simple way I can call something to list the available folders?

Chris Hogan
Write a response