You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm trying to test this package using the Log driver.
I setup my Mail driver to use Log driver (and have correctly emails send by my app going to the log).
But can't catch any email...
.env:
MAILBOX_DRIVER=log
MAIL_MAILER=log
My boot in AppServiceProvider:
public function boot()
{
Mailbox::catchAll(CatchAllMailbox::class);
}
And catchAllMailbox:
<?php
namespace App\Support;
use BeyondCode\Mailbox\InboundEmail;
use Illuminate\Support\Facades\Log;
class CatchAllMailbox
{
public function __invoke(InboundEmail $email)
{
Log::info("mail catched");
}
}
Any suggestion ?
Thanks, Denis
The text was updated successfully, but these errors were encountered:
Hello, I'm trying to test this package using the Log driver.
I setup my Mail driver to use Log driver (and have correctly emails send by my app going to the log).
But can't catch any email...
.env:
My boot in AppServiceProvider:
And catchAllMailbox:
Any suggestion ?
Thanks, Denis
The text was updated successfully, but these errors were encountered: