Getting Started
Installation
Requirements
ImapEngine requires PHP 8.1 or higher.
Installation
You may install ImapEngine via Composer:
composer require directorytree/imapengine
Configuration
After installation, you'll need to configure your IMAP connection. Here's a basic example:
use DirectoryTree\ImapEngine\Mailbox;$mailbox = new Mailbox(['port' => 993,'username' => 'your-username','password' => 'your-password','encryption' => 'ssl','host' => 'imap.example.com',]);
For more detailed configuration options and examples, check out the Usage Guide.