balusss has asked for the wisdom of the Perl Monks concerning the following question:
---- I couldn't figure out why it is not working for 'rw' access.. where am I going wrong? Or is there a better way to read mails over ssl with 'rw'... :( pl advice. thanks, balu#!/home/y/bin/perl use warnings; use strict; use Mail::Box::Manager; ... ... my $mgr = Mail::Box::Manager->new(); Mail::Reporter->defaultTrace('DEBUG'); $mgr->registerType( imaps => 'Mail::Box::IMAP4::SSL' ); my $folder = $mgr->open(folder=> 'imaps://user:password@egl-webmail.co +rp.yahoo.com:993/INBOX', access=>'r') or die "folder connected\n"; foreach my $message($folder->messages){ ... } $folder->close();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to Mail::Box::Manager over ssl with 'rw' access
by marto (Cardinal) on Apr 22, 2010 at 10:33 UTC |