Test

8 months ago

vikas5914

Test

Code

use MongoDB\Client;
use App\Models\User;
use App\Models\Event;
use Illuminate\Http\Request;
use App\Jobs\SendReminderEmail;
use App\Jobs\SendRegistrationEmail;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Bus;

$event = Event::find(28);
$user = User::find(32980); //vikas
// $user = User::find(32973);  //Maaz

Bus::dispatch(new SendReminderEmail($event, $user));

Output

HELO: Local email testing for your desktop!