[Web] Update libs

[Web] Update filename when downloading
This commit is contained in:
andryyy
2020-05-18 21:15:51 +02:00
parent 11820a4d3a
commit 667bd48163
71 changed files with 362 additions and 546 deletions

View File

@@ -6,7 +6,7 @@
[![Latest Stable Version](https://poser.pugx.org/ddeboer/imap/v/stable.svg)](https://packagist.org/packages/ddeboer/imap)
[![Total Downloads](https://poser.pugx.org/ddeboer/imap/downloads.png)](https://packagist.org/packages/ddeboer/imap)
A PHP 7.1+ library to read and process e-mails over IMAP.
A PHP 7.2+ library to read and process e-mails over IMAP.
This library requires [IMAP](https://secure.php.net/manual/en/book.imap.php),
[iconv](https://secure.php.net/manual/en/book.iconv.php) and
@@ -159,10 +159,10 @@ function:
```php
$today = new DateTimeImmutable();
$lastMonth = $today->sub(new DateInterval('P30D'));
$thirtyDaysAgo = $today->sub(new DateInterval('P30D'));
$messages = $mailbox->getMessages(
new Ddeboer\Imap\Search\Date\Since($lastMonth),
new Ddeboer\Imap\Search\Date\Since($thirtyDaysAgo),
\SORTDATE, // Sort criteria
true // Descending order
);