Thread Mail::Box::Manager findet keine E-Mails in Ordner (10 answers)
Opened by Gast at 2008-09-27 18:42

Gast Gast
 2008-09-27 22:50
#114989 #114989
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";
}

View full thread Mail::Box::Manager findet keine E-Mails in Ordner