Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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(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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2017-12-17 04:44 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (462 votes). Check out past polls.