laravel-mailboxCatch incoming emails in your Laravel application

联合创作 · 2023-09-21 12:07

Laravel Mailbox
📬


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


https://phppackagedevelopment.com


If you want to learn how to create reusable PHP packages yourself, take a look at my upcoming PHP Package Development video course.


Installation


You can install the package via composer:



composer require beyondcode/laravel-mailbox


Usage


Take a look at the official documentation.


Testing



composer test


Changelog


Please see CHANGELOG for more information what has changed recently.


Contributing


Please see CONTRIBUTING for details.


Security


If you discover any security related issues, please email marcel@beyondco.de instead of using the issue tracker.


Credits



License


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

浏览 24
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报