SYNOPSIS

 my $url = 'imap4://user:passwd@host:port/INBOX';
 my $url = 'imap://user:passwd@host:port/INBOX';

 use Mail::Box::IMAP4;
 my $folder = Mail::Box::IMAP4->new(folder => $url, ...);

 use Mail::Box::Manager;
 my $mgr    = Mail::Box::Manager->new;
 my $folder = $msg->open($url, retry => 3, interval => 5);

DESCRIPTION

Maintain a folder which has its messages stored on a remote server. The communication between the client application and the server is implemented using the IMAP4 protocol. See also Mail::Server::IMAP4.

This class uses Mail::Transport::IMAP4 to hide the transport of information, and focusses solely on the correct handling of messages within a IMAP4 folder. More than one IMAP4 folder can be handled by one single IMAP4 connection.

DETAILS

How IMAP4 folders work