Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 03de8d48

Von Jan Büren vor etwa 1 Jahr hinzugefügt

  • ID 03de8d48d5d83bdf10d348d8109ccb055adedfd5
  • Vorgänger 99fbec76
  • Nachfolger efd5f30d

Neues optionales IMAP-Flag für Kennzeichnung von importierten E-Mails

Zusätzlich Rückmeldung an die Background-Job-Historie Anzahl der E-Mails

Unterschiede anzeigen:

SL/BackgroundJob/ImportRecordEmails.pm
}
);
return "No emails to import." unless $email_import;
my $result = "Created email import with id " . $email_import->id . ".";
if ($config->{imported_imap_flag}) {
foreach my $email_journal (@{$email_import->email_journals}) {
$imap_client->set_flag_for_email(
email_journal => $email_journal,
flag => $config->{imported_imap_flag},
);
}
}
my $result = "Created email import with id " . $email_import->id . " for ". scalar @{ $email_import->email_journals } . " emails.";
if ($config->{process_imported_emails}) {
my @function_names =
......
processed_imap_flag => { type => SCALAR, optional => 1, },
not_processed_imap_flag => { type => SCALAR, optional => 1, },
email_import_ids_to_delete => { type => ARRAYREF, optional => 1, },
imported_imap_flag => { type => SCALAR, optional => 1, },
# email config
hostname => { type => SCALAR, },
port => { type => SCALAR, optional => 1},

Auch abrufbar als: Unified diff