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::ARRAY(3pm) User Contributed Perl Documentation Mail::Box::Tie::ARRAY(3pm)
NAME
Mail::Box::Tie::ARRAY - access an existing message folder as array
SYNOPSIS
use Mail::Box::Manager;
my $mgr = Mail::Box::Manager->new;
my $folder = $mgr->open(folder => 'inbox');
use Mail::Box::Tie::ARRAY;
tie my(@inbox), 'Mail::Box::Tie::ARRAY', $folder;
# deprecated, but works too
use Mail::Box::Tie;
tie my(@inbox), 'Mail::Box::Tie', $folder;
foreach (@inbox) {print $_->short}
print $_->print foreach @inbox;
my $emails = @inbox;
print $inbox[3];
print scalar @inbox;
push @inbox, Mail::Box::Message->new(...);
delete $inbox[6];
print $inbox[0]->head->get('status');
my $folder = tied @inbox;
untie @inbox;
DESCRIPTION
Certainly when you look at a folder as a list of messages, it is logical to access the folder through an array.
Not all operations on arrays are supported. Actually, most functions which would reduce the size of the array are modified instead to mark
messages for deletion.
Examples what you cannot do:
shift/unshift/pop/splice @inbox;
METHODS
Constructors
TIEARRAY('Mail::Box::Tie::ARRAY', FOLDER)
Create the tie on an existing folder.
example: tie an array to a folder
my $mgr = Mail::Box::Manager->new;
my $inbox = $mgr->new(folder => $ENV{MAIL});
tie my(@inbox), 'Mail::Box::Tie::Array', ref $inbox, $inbox;
Tied Interface
$obj->DELETE()
Flag a message to be removed. Be warned that the message stays in the folder, and is not removed before the folder is written.
example:
delete $inbox[5];
$inbox[5]->delete; #same
$obj->FETCH(INDEX)
Get the message which is at the indicated location in the list of messages contained in this folder. Deleted messages will be returned
as "undef".
example:
print $inbox[3]; # 4th message in the folder
print @inbox[3,0]; # 4th and first of the folder
print $inbox[-1]; # last message
$obj->FETCHSIZE()
Return the total number of messages in a folder. This is called when the folder-array is used in scalar context, for instance.
example:
if(@inbox > 10) # contains more than 10 messages?
my $nrmsgs = @inbox;
$obj->PUSH(MESSAGES)
Add MESSAGES to the end of the folder.
example:
push @inbox, $newmsg;
$obj->STORE(INDEX, MESSAGE)
Random message replacement is not permitted --doing so would disturb threads etc. An error occurs if you try to do this. The only
thing which is allowed is to store a message at the first free index at the end of the folder (which is also achievable with PUSH()).
example:
$inbox[8] = $add;
$inbox[-1] = $add;
push @inbox, $add;
$obj->STORESIZE(LENGTH)
Sets all messages behind from LENGTH to the end of folder to be deleted.
DETAILS
Folder tied as array
Limitations
This module implements "TIEARRAY", "FETCH", "STORE", "FETCHSIZE", "STORESIZE", "DELETE", "PUSH", and "DESTROY".
This module does not implement all other methods as described in the Tie::Array documentation, because the real array of messages is not
permitted to shrink or be mutilated.
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::ARRAY(3pm)