php-imap
php-imap copied to clipboard
PHP-IMAP is a wrapper for common IMAP communication without the need to have the php-imap module installed / enabled. The protocol is completely integrated and therefore supports IMAP IDLE operation a...
Hi, that's a general question related to Microsoft OAUTH2. I would like to know if this works also for personal account or it's required a organization account. That's related to...
Thread
$folders = [ $client->getFolder('INBOX'), ]; $sent = $client->getFolder("[Gmail]/Sent Mail"); $today = Carbon::today(); $yesterday = Carbon::today()->subDays(1); foreach ($folders as $folder) { $messages = $folder->query()->since($yesterday)->from($toEmail)->to($fromEmail)->all()->get(); foreach ($messages as $message) { $emailThreads[] =...
Happy to submit a PR for this, but I want to make sure it will be accepted first and that the project is still maintained. Also it appears that https://github.com/Webklex/php-imap/pull/518...
Version used: 4.1.2 Php 7.2 I can fetch all folders using `getFolders`. I can count messages in a specific folder using `$folder->messages()->all()->count();` But there is no message inside when I...
### Prerequisites * **php-imap version:** 6.2.0 * **PHP version:** 8.3 * **IMAP Server:** IMAP ----- ### Description The methods `$query->setFetchOrder()`, `$query->setFetchOrderAsc()`, and `$query->fetchOrderAsc()` (and their `desc` counterparts) do **not** seem...
This helps development tools (like PhpStorm and PHPStan) correctly recognize the return types of these methods.
I went into this error : ``` Carbon\Exceptions\InvalidFormatException: Could not parse 'Tue, 30 Sep 2025 15:23:24 -0300 Tue, 30 Sep 2025 15:23:24 -0300': Failed to parse time string (Tue, 30...
Does this package support `OP_READONLY`. I've seen that the `LegacyProtocol` is using it, but I'm not sure if I should start using that one. If it does, how should I...
my command ```
**Describe the bug** subject is displayed as `=?utf-8?q?Fwd=3A_Re=3A_Nov=C3=BD_koment=C3=A1=C5=99_u_=23PK-207_-?= =?utf-8?q?_Chybn=C3=A9_filtrov=C3=A1n=C3=AD?=` insetad of `Fwd: Re: Nový komentář u [#PK-207] - Chybné filtrování` **Used config** defaultg. **Code to Reproduce** The troubling code section...