You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to use ddeboer/imap on PHP 8.1 throws an exception "Supplied resource is not a valid imap resource", because PHP 8.1 now returns Imap\Connection instead of a resource. (see upgrade guide)
Current behavior
Attempt to connect to IMAP server - see InvalidResourceException is thrown by ImapResource->getStream method
How to reproduce: code & error stack trace
use PHP 8.1 and connect to a server
Expected behavior
No exception is thrown
The text was updated successfully, but these errors were encountered:
Summary
Attempting to use ddeboer/imap on PHP 8.1 throws an exception "Supplied resource is not a valid imap resource", because PHP 8.1 now returns Imap\Connection instead of a resource. (see upgrade guide)
Current behavior
Attempt to connect to IMAP server - see InvalidResourceException is thrown by ImapResource->getStream method
How to reproduce: code & error stack trace
use PHP 8.1 and connect to a server
Expected behavior
No exception is thrown
The text was updated successfully, but these errors were encountered: