This is not the official laravel-mailbox package but a fork from the beyondcode/laravel-mailbox package that fixes some small bugs and keeps dependencies updated.
Take a look at the official package here
Handle incoming emails in your Laravel application.
Mailbox::from('{username}@gmail.com', function (InboundEmail $email, $username) {
// Access email attributes and content
$subject = $email->subject();
$email->reply(new ReplyMailable);
});
You can install the package via composer:
composer require siebsie23/laravel-mailbox
Take a look at the official documentation from beyondcode.
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.