Login to your FTP account
Turn the Debug mode On
Visit app\Http
open routes.php
Paste the below code to it just <?php
tags
Make sure to replace foo@example.com
in the blow code with your email address first.
Route::get('test', function(){
Artisan::call('route:clear');
\Illuminate\Support\Facades\Mail::raw('Testing Eamil', function ($message) {
$message->to('foo@example.com');
});
return 'Success - Eamil is sent';
});
Vist yoursite.com/test
If Success - Eamil is sent
is displayed in browser that means email is working fine. otherwise there is some error.
If there is any error, it will be displayed properly when debug mode is on.
Remove the code after test.