Thread Mail::Box::Manager findet keine E-Mails in Ordner
(10 answers)
Opened by Gast at 2008-09-27 18:42
Das funktioniert nicht?
Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 #!/usr/bin/perl use strict; use warnings; use Mail::Box::Manager; my $mgr = Mail::Box::Manager->new; my $mailbox = $mgr->open( type => 'pop3', username => 'Name', password => 'Passwort', server_name => 'domain.de', ); for my $msg ($mailbox->messages) { # all messages my @to = $msg->to; print "@to\n"; } |