Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beyondcode/laravel-mailbox
Catch incoming emails in your Laravel application
https://github.com/beyondcode/laravel-mailbox
laravel mail mailgun sendgrid
Last synced: 2 days ago
JSON representation
Catch incoming emails in your Laravel application
- Host: GitHub
- URL: https://github.com/beyondcode/laravel-mailbox
- Owner: beyondcode
- License: mit
- Created: 2019-01-21T19:36:15.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-24T02:04:28.000Z (7 months ago)
- Last Synced: 2024-12-03T12:05:35.506Z (9 days ago)
- Topics: laravel, mail, mailgun, sendgrid
- Language: PHP
- Homepage: https://beyondco.de/docs/laravel-mailbox/getting-started/introduction
- Size: 137 KB
- Stars: 1,041
- Watchers: 16
- Forks: 127
- Open Issues: 33
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-laravel - Laravel Mailbox - A package to handle incoming emails (Popular Packages)
README
# Laravel Mailbox 📬
[![Latest Version on Packagist](https://img.shields.io/packagist/v/beyondcode/laravel-mailbox.svg?style=flat-square)](https://packagist.org/packages/beyondcode/laravel-mailbox)
[![Total Downloads](https://img.shields.io/packagist/dt/beyondcode/laravel-mailbox.svg?style=flat-square)](https://packagist.org/packages/beyondcode/laravel-mailbox)Handle incoming emails in your Laravel application.
``` php
Mailbox::from('{username}@gmail.com', function (InboundEmail $email, $username) {
// Access email attributes and content
$subject = $email->subject();$email->reply(new ReplyMailable);
});
```## Installation
You can install the package via composer:
```bash
composer require beyondcode/laravel-mailbox
```## Usage
Take a look at the [official documentation](https://docs.beyondco.de/laravel-mailbox).
### Testing
``` bash
composer test
```### Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
### Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
## Credits
- [Marcel Pociot](https://github.com/mpociot)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.