Handle incoming emails in your Laravel application.
beyondcode/laravel-mailbox is a Laravel package for handle incoming emails in your laravel application..
It currently has 1.130 GitHub stars and 1.125.573 downloads on Packagist (latest version 6.0.0).
Install it with composer require beyondcode/laravel-mailbox.
Discover more Laravel packages by beyondcode
or browse all Laravel packages to compare alternatives.
Last updated
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 beyondcode/laravel-mailbox
Take a look at the official documentation.
Laravel Herd provides an integrated local email service, streamlining the process of testing and debugging application emails. The email service organizes emails into distinct inboxes for each application, ensuring they are easily accessible and simple to locate.
Inbound messages are parsed with zbateson/mail-mime-parser (see the docs on handling inbound email). Run the package test suite with:
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.