Linux SoftwareProgrammingLibrariesMail::Box 2.065

Mail::Box 2.065


Mail::Box can manage a mailbox, a folder with messages. INHERITANCE Mail::Box is a Mail::Reporter Mail::Box is extende
Developer:   Mark Overmeer
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   0K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Mail::Box can manage a mailbox, a folder with messages.

INHERITANCE

Mail::Box
is a Mail::Reporter

Mail::Box is extended by
Mail::Box::Dir
Mail::Box::File
Mail::Box::Net

SYNOPSIS

use Mail::Box::Manager;
my $mgr = Mail::Box::Manager->new;
my $folder = $mgr->open(folder => $ENV{MAIL}, ...);
print $folder->name;

# Get the first message.
print $folder->message(0);

# Delete the third message
$folder->message(3)->delete;

# Get the number of messages in scalar context.
my $emails = $folder->messages;

# Iterate over the messages.
foreach ($folder->messages) {...} # all messages
foreach (@$folder) {...} # all messages

$folder->addMessage(Mail::Box::Message->new(...));
Tied-interface:
tie my(@inbox), 'Mail::Box::Tie::ARRAY', $inbox;

# Four times the same:
$inbox[3]->print; # tied
$folder->[3]->print; # overloaded folder
$folder->message(3)->print; # usual
print $folder->[3]; # overloaded message

tie my(%inbox), 'Mail::Box::Tie::HASH', $inbox;

# Twice times the same
$inbox{$msgid}->print; # tied
$folder->messageId($msgid)->print;# usual

A Mail::Box::Manager creates Mail::Box objects. But you already knew, because you started with the Mail::Box-Overview manual page. That page is obligatory reading, sorry!

Mail::Box is the base class for accessing various types of mailboxes (folders) in a uniform manner. The various folder types vary on how they store their messages, but when some effort those differences could be hidden behind a general API. For example, some folders store many messages in one single file, where other store each message in a separate file withing the same directory.

No object in your program will be of type Mail::Box: it is only used as base class for the real folder types.

Requirements:
  • Perl
    tags mail box  folder message  the same  box manager  print folder  print usual  tied folder  class for  folder types  print tied  base class  box tie  get the  

    Download Mail::Box 2.065


     http://mirrors.evolva.ro/CPAN/authors/id/M/MA/MARKOV/Mail-Box-2.065.tar.gz


    Authors software

    Mail::Send 1.74 (by Mark Overmeer)
    Mail::Send is a simple electronic mail interface.

    SYNOPSIS:

    require Mail::Send;

    $msg = new Mail::Send;

    $msg =

    Mail::Box 2.065 (by Mark Overmeer)
    Mail::Box can manage a mailbox, a folder with messages.

    INHERITANCE

    Mail::Box
    is a Mail::Reporter

    Mail::Box is extende

    Mail::Message::Body 2.065 (by Mark Overmeer)
    Mail::Message::Body is the data of a body in a message.

    INHERITANCE

    Mail::Message::Body has extra code in
    Mail::Message::B

    User::Identity::Archive 0.90 (by Mark Overmeer)
    User::Identity::Archive is a base class for archiving user information.

    INHERITANCE

    User::Identity::Archive
    is a User::Ide

    Mail::Field 1.74 (by Mark Overmeer)
    Mail::Field is a base class for manipulation of mail header fields.

    SYNOPSIS

    use Mail::Field;

    $field = Mail::Fie


    Similar software

    Mail::Box 2.065 (by Mark Overmeer)
    Mail::Box can manage a mailbox, a folder with messages.

    INHERITANCE

    Mail::Box
    is a Mail::Reporter

    Mail::Box is extende

    Mail::Message::Convert::MailInternet 2.066 (by Mark Overmeer)
    Mail::Message::Convert::MailInternet is a Perl module that can translate Mail::Message to Mail::Internet vv.

    INHERITANCE

    Mail:

    Mail::Message::Convert::MimeEntity 2.066 (by Mark Overmeer)
    Mail::Message::Convert::MimeEntity is a Perl module that can translate Mail::Message to MIME::Entity vv.

    INHERITANCE

    Mail::Mes

    DisSent 1 (by Volker Wegert)
    DisSent (short for "Distribute Sent Mails") is a program for separating your sent mail from a single folder into different folders ba

    Mozilla Thunderbird 2.0 Beta 1 (by Mozilla Corporation)
    Mozilla ThunderbirdMozilla Thunderbird is a full-featured email, RSS and newsgroup client that

    Mail::Message::Convert::Html 2.066 (by Mark Overmeer)
    Mail::Message::Convert::Html is a Perl module to format messages in HTML.

    INHERITANCE

    Mail::Message::Convert::Html
    is a Ma

    Mail::Message::Body 2.065 (by Mark Overmeer)
    Mail::Message::Body is the data of a body in a message.

    INHERITANCE

    Mail::Message::Body has extra code in
    Mail::Message::B

    Mutt Folder List 1.5.13-20060828 (by Thomer M. Gil)
    Mutt Folder List is a mutt patch that adds a sidebar showing all mail folders and the total and number of new messages each contains.

    QuickFolders 3.5.0 (by Alexander Malfait)
    QuickFolders allows you to easily bookmark mail folders in Thunderbird

    Mailbox Alert 0.9 (by Jelte Jansen)
    Mailbox Alert is a Thunderbird which allows you to specify, for each seperate mail folder, a message, sound and/or a system command t


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags