BeyondCode\Mailbox\InboundEmail::id must return a relationship instance.
jhayg12 opened this issue · 0 comments
jhayg12 commented
Hello there I'm getting this error
BeyondCode\Mailbox\InboundEmail::id must return a relationship instance.
In AppServiceProvider.php
boot method.
Mailbox::to('sender@domain.com', function (InboundEmail $email) {
// Handle the incoming email
\Log::info(['id' => $email->id]);
});