armorlab / imap
Library for manage mailboxes and emails in PHP
1.1
2020-04-25 05:17 UTC
Requires
- php: >=7.4
- ext-iconv: *
- ext-mbstring: *
Requires (Dev)
- phpstan/phpstan: ^0.12.19
- phpunit/phpunit: ^9.1
This package is auto-updated.
Last update: 2024-11-10 18:50:15 UTC
README
Library for manage mailboxes and emails in PHP
Usage
$connection = new \ArmorLab\Driver\Connection('imap.google.com', 993); $imapDriver = new \ArmorLab\Driver\ImapDriver($connection); $imapDriver->login('login', 'password'); //list active folders from mailbox $folders = $imapDriver->getActiveFolders();