Added Create Custom, Random, Gmail Generation
This commit is contained in:
@@ -1,25 +1,13 @@
|
||||
<?php
|
||||
|
||||
use App\Models\ZEmail;
|
||||
use App\Http\Controllers\AppController;
|
||||
use App\Livewire\Email;
|
||||
use App\Livewire\EmailInbox;
|
||||
use App\Livewire\Home;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::get('/', function () {
|
||||
return view('welcome');
|
||||
});
|
||||
Route::get('/', Home::class)->name('home');
|
||||
Route::get('/mailbox', Email::class)->name('mailbox');
|
||||
Route::get('/inbox', EmailInbox::class)->name('inbox');
|
||||
|
||||
Route::get('ac', function () {
|
||||
return json_decode(config('app.settings.configuration_settings'))->random_username_length_max ?? 0;
|
||||
//return json_decode(config('app.settings.configuration_settings')) ?? [];
|
||||
});
|
||||
|
||||
Route::get('bc', function (){
|
||||
return ZEmail::check();
|
||||
});
|
||||
|
||||
Route::get('zz', function (){
|
||||
try {
|
||||
ZEmail::connectMailBox();
|
||||
} catch (Exception $ex) {
|
||||
return $ex->getMessage();
|
||||
}
|
||||
});
|
||||
//Route::get('/add/{email?}', [AppController::class, 'mailbox'])->name('mailbox');
|
||||
|
||||
Reference in New Issue
Block a user