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...
**Describe the bug** `Undefined array key 6 on var/www/dieleute/vendor/webklex/laravel-imap/src/Providers/LaravelServiceProvider.php:130` **Desktop / Server:** - OS: Ubuntu Server 20.04 - PHP: 8.1 **My work around** iI have added isset condition: `if (is_array($value)...
Continuation of https://github.com/Webklex/php-imap/pull/331
It seems like with UTF-16 charset, the email displays chinese characters in body. we are trying to solve by using: mb_convert_encoding(base64_decode($message->getRawBody()), "UTF-8", "UTF-16LE") which seems to work converting characters to...
**Is your feature request related to a problem? Please describe.** Refers to - https://github.com/Webklex/php-imap/issues/266 Gmail (I don't know about the others yet) is one of the mail clients containing a...
Is there any away to get only the subscribed folders?
I am using laravel in order to get messages and this is my code ``` $client = Client::account('default'); $folder = $client->getFolder("Inbox"); $message = Cache::remember('Mail_MSGN_'.$id,50000, function () use($id,$folder) { return $folder->query()->getMessageByMsgn($id);...
When I run this code from my localhost, it works fine and I am able to retrieve mails. $cm = new ClientManager(); $client = $cm->make([ 'host' => 'outlook.office365.com', 'port' =>...
Hi, here is my error return, I can't find why, then here is my code `Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:0A00018A:SSL routines::dh key too...
**Describe the bug** my email when use $message->getHTMLBody() is null my Raw Body ``` """ This is a multipart message in MIME format. ------=_NextPart_000_0005_01D9F071.0B04B990 Content-Type: multipart/alternative; \tboundary="----=_NextPart_001_0006_01D9F071.0B04B990" ------=_NextPart_001_0006_01D9F071.0B04B990 Content-Type: text/plain;...