Created
December 16, 2019 12:01
-
-
Save hapidjus/99e15f2f33272959cb46e183cce2bdaa to your computer and use it in GitHub Desktop.
Test Laravel mailables in browser
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Route::get('mailable', function () { | |
$ticket = App\BidCollection::find(1)->first(); | |
$user = Auth::user(); | |
return (new App\Notifications\BidInvite($ticket, $user)) | |
->toMail($user); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment