Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 761ccd9a

Přidáno uživatelem Ondřej Fibich před asi 8 roky(ů)

Resolves #1051: mark imported Tatra banka listings messages as read

Zobrazit rozdíly:

application/libraries/importers/Txt_Tatra_Banka_Statement_File_Importer.php
}
$hostname = $settings->get_download_statement_url();
$inbox = @imap_open($hostname, $settings->imap_name, $settings->imap_password, OP_READONLY);
$inbox = @imap_open($hostname, $settings->imap_name, $settings->imap_password);
$all_mails = array();
......
break;
}
$body = imap_fetchbody($inbox,$email_number, 1);
// fetch body with FT_PEEK disable setting message read
$body = imap_fetchbody($inbox, $email_number, 1, FT_PEEK);
$body = $this->decode_body($body, $struct);
......
{
continue;
}
else
{
// make message read, we want to mark it as imported
@imap_fetchbody($inbox, $email_number, 1);
}
array_unshift($all_mails, $body);
}

Také k dispozici: Unified diff