use User::Identity; use Mail::Box::Identity; my $me = User::Identity->new(...); my $mailbox = Mail::Box::Identity->new(...); $me->add(folders => $mailbox); # Simpler use User::Identity; my $me = User::Identity->new(...); my $addr = $me->add(folders => ...);
See SYNOPSIS in Mail::Reporter
The Mail::Box::Identity
object contains the description of a
single mailbox. The mailboxes are collected by an Mail::Box::Collection
object. This corresponds with IMAP's \NoSelect
, for instance.
Nearly all methods can return undef.
See DESCRIPTION in Mail::Reporter