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);
});
As this is a fork of beyondcode/laravel-mailbox, we need to tell composer to use the fork:
Add the following section to your composer.json:
"repositories": [
{
"type": "vcs",
"url": "https://github.com/cubewebsites/laravel-mailbox"
}
],
Then install the package. This should install the cubewebsites fork of laravel-mailbox
composer require cubewebsites/laravel-mailbox
Take a look at the official documentation.
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 marcel@beyondco.de instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.