programic/laravel-mailbox

Handle incoming emails in your Laravel application.

v1.0.2 2024-07-02 06:48 UTC

This package is auto-updated.

Last update: 2024-11-02 07:29:12 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads

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);
});

Installation

You can install the package via composer:

composer require programic/laravel-mailbox

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

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