- Open Laravel Tinker from the project root folder:
php artisan tinker- Run the Test command:
Mail::raw('Hello World!', function($msg) { $msg->to('destination_email@gmail.com')->subject('Testing SMTP'); });php artisan tinkerMail::raw('Hello World!', function($msg) { $msg->to('destination_email@gmail.com')->subject('Testing SMTP'); });