10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am asking about my work account, running Linux on a system server. On pine, I set up a forward to another email account. I also keep a copy in the original account. The forward has been running fine for some time.
I believe the system sends the mail first to the forwarded account and then puts... (0 Replies)
Discussion started by: BLabel
0 Replies
2. UNIX for Dummies Questions & Answers
Hello. I'm running Mac OS X 10.5. I am completely new to UNIX and also to command line. I'm trying to setup an email client and a web browser.
Google told me Pine was a good idea for email, so I got Pine. I thought it would be like other email clients, like Thunderbird, so that I can use IMAP... (1 Reply)
Discussion started by: saithesci
1 Replies
3. Solaris
when i try to build pine unix tells me it can't find make
# ./build xxx
make args are CC=cc soc
Including LDAP functionality
ln: cannot create c-client: File exists
ln: cannot create mtest: File exists
ln: cannot create mailutil: File exists
ln: cannot create imapd: File exists
ln:... (0 Replies)
Discussion started by: vutty81
0 Replies
4. UNIX for Dummies Questions & Answers
how to configure pine in my linux os (1 Reply)
Discussion started by: rajan_ka1
1 Replies
5. UNIX for Dummies Questions & Answers
I am having trouble confiuring pine. I have downloaded it on 2 computers 1 with freebsd and the other fedora and I am getting the same result in both. Both say "folder does not exist","no folder to open". I went into set up and configured personal name,user-domain,smtp-server,inbox-path. I know I... (1 Reply)
Discussion started by: m8trix
1 Replies
6. UNIX for Dummies Questions & Answers
i have shell account at grex.org but i cannot get mauil with pine because the inbox cannot be found?
any suggestion? (7 Replies)
Discussion started by: cogeek
7 Replies
7. UNIX for Dummies Questions & Answers
Hi there,
for email we are using "pine" on SSH. is there any way to block junk mail on pine? i've been lookin for sumthin that allows me to block senders but all my efforts in vain. can sum1 help me on that?
Thanks (1 Reply)
Discussion started by: a25khan
1 Replies
8. UNIX for Advanced & Expert Users
Hi :-
I am trying to make a script to send mail using pine. But it takes me to the Pine Menu Console and I have to send it manually.
Note that I am attaching a file with it.
Any quick response will be highly appreciated. (4 Replies)
Discussion started by: s_aamir
4 Replies
9. UNIX for Dummies Questions & Answers
Hello,
Does anyone know why I'm not able to get colors in Pine when using Xterm, but I can get them using Dtterm?
Any answers to this would be much appreciated.
Radimus. (1 Reply)
Discussion started by: radimus
1 Replies
10. UNIX for Dummies Questions & Answers
I'm trying to setup the pico editor, which comes with pine. But I am not sure how to activate pine. I'm using the newest stable version of openbsd. If someone could tell me what file to execute, or, if not 'onboard' the package, where to get it. I would be much obliged.
Req (1 Reply)
Discussion started by: Requeth
1 Replies
Mail::Box::Tie::HASH(3pm) User Contributed Perl Documentation Mail::Box::Tie::HASH(3pm)
NAME
Mail::Box::Tie::HASH - access an existing message folder as a hash
SYNOPSIS
tie my(%inbox), 'Mail::Box::Tie::HASH', $folder;
foreach my $msgid (keys %inbox)
{ print $inbox{$msgid};
delete $inbox{$msgid};
}
$inbox{$msg->messageId} = $msg;
DESCRIPTION
Certainly when you look at a folder as being a set of related messages based on message-id, it is logical to access the folder through a
hash.
For a tied hash, the message-id is used as the key. The message-id is usually unique, but when two or more instances of the same message
are in the same folder, one will be flagged for deletion and the other will be returned.
This implementation uses basic folder access routines which are related to the message-id.
METHODS
Constructors
TIEHASH('Mail::Box::Tie::HASH', FOLDER)
Connects the FOLDER object to a HASH.
example:
my $mgr = Mail::Box::Manager->new;
my $folder = $mgr->open(access => 'rw');
tie my(%inbox), 'Mail::Box::Tie::HASH', $folder;
Tied Interface
$obj->CLEAR()
Remove the contents of the hash. This is not really possible, but all the messages will be flagged for deletion.
example:
%inbox = ();
%inbox = ($msg->messageId, $msg); #before adding msg
$obj->DELETE(MESSAGE-ID)
Remove the message with the specified MESSAGE-ID.
example:
delete $inbox{$msgid};
$obj->EXISTS(MESSAGE-ID)
Check whether a message with a certain MESSAGE-ID exists.
example:
if(exists $inbox{$msgid}) ...
$obj->FETCH(MESSAGEID)
Get the message with the specified id. The returned message may be a dummy if message thread detection is used. Returns "undef" when
there is no message with the specified id.
example:
my $msg = $inbox{$msgid};
if($inbox{$msgid}->isDummy) ...
$obj->FIRSTKEY()
See NEXTKEY().
$obj->NEXTKEY(PREVIOUS)
FIRSTKEY() returns the first message-id/message pair from the folder, and NEXTKEY returns the message-id/message pair for the next
message, in the order in which the message is stored in the folder.
Messages flagged for deletion will not be returned. See the Mail::Box::messages() method of the folder type for more information about
the folder message order.
example:
foreach my $msgid (keys %inbox) ...
foreach my $msg (values %inbox) ...
while(my ($msgid, $msg) = each %inbox) {
$msg->print unless $msg->isDeleted;
}
$obj->STORE(undef, MESSAGE)
Store a message in the folder. The key must be "undef", because the message-id of the specified message is taken. This is shown in
the first example. However, as you see, it is a bit complicated to specify "undef", therefore the string "undef" is accepted as well.
The message may be converted into something which can be stored in the folder type which is at stake. The added instance is returned.
example:
$inbox{ (undef) } = $msg;
$inbox{undef} = $msg;
SEE ALSO
This module is part of Mail-Box distribution version 2.105, built on May 07, 2012. Website: http://perl.overmeer.net/mailbox/
LICENSE
Copyrights 2001-2012 by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See
http://www.perl.com/perl/misc/Artistic.html
perl v5.14.2 2012-05-07 Mail::Box::Tie::HASH(3pm)