Mail::Box 2.065
Sponsored Links
Mail::Box 2.065 Ranking & Summary
File size:
0.57 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1236
Date added:
2006-06-08
Publisher:
Mark Overmeer
Mail::Box 2.065 description
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.
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.
Mail::Box 2.065 Screenshot
Mail::Box 2.065 Keywords
Box 2.065
Can Manage
messages
folder
print
message
mailbox
Inbox
Mail::Box
Mail::Box 2.065
Libraries
Programming
Bookmark Mail::Box 2.065
Mail::Box 2.065 Copyright
WareSeeker periodically updates pricing and software information of Mail::Box 2.065 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Mail::Box 2.065 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
maildrop is the mail filter/mail delivery agent thats used by the Courier Mail Server. Free Download
Mail::Message::Body is the data of a body in a message. Free Download
Mail::Box::Parser::C is a Perl module that can parse folders for MailBox with C routines. Free Download
IMAPFilter is a mail filtering utility. Free Download
Mailbox Strainer is a Superkaramba widget that examines an arbitrary number of IMAP mailboxes. Free Download
WWW::GMail is a Perl extension for accessing Google Mail (gmail). Free Download
mairix is a tool for indexing and searching email messages stored in Maildir, MH, or mbox folders. Free Download
fetchmail is a free, full-featured, robust, well-documented remote-mail retrieval utility. Free Download
Latest Software
Popular Software
Favourite Software