Laravel IMAP is an easy way to integrate both the native php-imap module and an extended custom imap protocol into your Laravel app.
637
stars
182
forks
source link
I have facing issue on imap_fetchstructure() please refer the below error and provide the proper solution: #481
Open
suraj-enjay opened 1 year ago
**ErrorException: imap_fetchstructure(): No body information available in vendor/webklex/laravel-imap/src/IMAP/Message.php
OS: [e.g. Ubuntu 22.4]
PHP: [e.g. 8.2.7]
webklex/laravel-imap : "^1.4"
I have using the below code for connection : $oClient = new Client([ 'host' => $inboundEmailImap['host'], 'port' => $inboundEmailImap['port'], 'encryption' => 'ssl', 'validate_cert' => $validateCertificate, 'username' => $inboundEmailImap['username'], 'password' => $inboundEmailImap['password'], 'protocol' => $inboundEmailImap['protocol'], ]);
$oClient->connect();
I got the erorr on this function : $oFolder = $oClient->getFolder($mailboxFolder);**