armorlab/imap

Library for manage mailboxes and emails in PHP

1.1 2020-04-25 05:17 UTC

This package is auto-updated.

Last update: 2024-11-10 18:50:15 UTC


README

License Build status Version Release date PHP version Maintainability Code coverage

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();