Open gdemir opened 1 year ago
Popping in to say I also had this. I'm not dealing with attachments so it doesn't matter to me but it was in the demo code.
Found the issue: use composer require php-imap/php-imap:dev-master
as the main one is super old and out of date.
The used code:
Screenshots / Outputs Fatal error: Uncaught Error: Call to undefined method PhpImap\IncomingMail::hasAttachments() in /var/www/vhosts/httpdocs/ir/index.php:53 Stack trace: #0 {main} thrown in /var/www/vhosts//httpdocs/ir/index.php on line 53