aramirez92/laravel-imap

Laravel 5 IMAP client.

1.0.4 2017-02-08 13:54 UTC

This package is auto-updated.

Last update: 2020-10-12 09:45:49 UTC


README

Latest Version on Packagist Total Downloads Software License

Install

  1. Via Composer
composer require aramirez92/laravel-imap
  1. Copy vendor\aramirez92\laravel-imap\config\imap.php to config\imap.php. Edit to change host, username, password.

  2. Add this line to config\app.php into providers section:

Aramirez92\LaravelImap\Providers\LaravelServiceProvider::class,

Usage

Example usage:

use Aramirez92\LaravelImap\Client;
use Aramirez92\LaravelImap\Mailbox;

// ...

$client = new Client();
$client->connect();

$mailboxes = $client->getMailboxes();
foreach($mailboxes as $mailbox) {
    dump($mailbox->getMessages());
}

Change log

Please see CHANGELOG for more information what has changed recently.

Security

If you discover any security related issues, please email devops92@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.