Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Mail::IMAPClient wont get messages

by markov (Scribe)
on Jan 01, 2004 at 11:21 UTC ( #318102=note: print w/replies, xml ) Need Help??


in reply to Mail::IMAPClient wont get messages

Although IMAP::Client works quite well on its own, you may consider to use Mail::Box as abstraction level. Mail::Box supports various folder formats and hides implementation differences. See its website. You can simply use messages on the remote IMAP4 server as if they are local.

 use Mail::Box::IMAP4;
 my $f = Mail::Box::IMAP4->new(host => ..., username => ...,
      password => ..., folder => ...) or die;

 foreach my $msg ($f->messages) ...
 $f->message(1)->delete;
 $f->message(3)->head->add('X-Handler' => 'my own');

Replies are listed 'Best First'.
Re: Re: Mail::IMAPClient wont get messages
by RichardH (Sexton) on Jan 01, 2004 at 14:23 UTC
    I looked through the documentation for this on cpan, and it seemed that the imap support was experimental. Have you used it and had success with it? I'm going to give it a try, but cautiously.
    Richard

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://318102]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2017-01-21 22:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (186 votes). Check out past polls.