ask('Email to test email config?',"support@egytelecoms.com"); $place = new NotificationPlaceholder(); $place->setContent("Testing queued notification.."); $place->setAuthor("Bob"); $place->setRecipient(User::find(1)); ; $result = \Illuminate\Support\Facades\Notification::route('mail', $email)->notify( new GenericNotification($place) ); echo $result; $this->info($result); } }