develooper Front page | perl.libnet | Postings from October 2001

Net:POP3 and Mailbox problem

Charlie &
October 11, 2001 13:39
Net:POP3 and Mailbox problem
Message ID:
I'm trying to pick up messages from my account and save them in my Mailbox on
machine, where exist no MTA.
Net::POP3 can connect me to server, read messages and save them in file. What's
a problem? I'd like to use mutt and read these messages. But mutt complains:
Mailbox is not Mailbox(Mailbox is file where i saved what i retrieved ).

snippet follows:
open ( MAILBOX,">>/root/Mailbox");
for my $msgnum (1..$numberOfmess){
     my $content= $minv->get($msgnum);
    print MAILBOX join "", @$content;
close MAILBOX;

Can somebody tell me, what's wrong with my Mailbox? Messages are there, only
mutt refuses to read them.

Please answer me directly to, i'm not subscriber. 
Simple reply won't work. Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About