Skip to content

frnwtr/laravel-imap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laravel-imap

Install

  1. In your terminal via composer:
composer require Frnwtr/laravel-imap
  1. Add this provider to your config/app.php :
Frnwtr\LaravelImap\Providers\LaravelServiceProvider::class,
  1. Publish config file
php artisan vendor:publish --provider="Frnwtr\LaravelImap\Providers\LaravelServiceProvider"

then Define host, username, password, etc in your config/imap.php.

Usage

Example usage:

use Frnwtr\LaravelImap\Client;
use Frnwtr\LaravelImap\Mailbox;

// ...

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

$mailboxes = $client->getFolders();
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 [email protected] instead of using the issue tracker.

Credits

License

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

About

Laravel 5 IMAP client.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%