David Rushton
Results
2
comments of
David Rushton
@oliverbj The default behaviour of the package is to run all routes _before_ saving the email - https://github.com/beyondcode/laravel-mailbox/blob/master/src/Routing/Router.php#L97. Because Laravel serializes all Eloquent models and then re-fetches from the database...
@jhayg12 From memory, I think I just solved this in the project by adding in the `$email->save()` line: ```php Mailbox::catchAll(function (InboundEmail $email) { $email->save(); dispatch(new ProcessInboundEmail($email)); }); ``` Hope that...