- Testing e-mails in Laravel
- Sending a Laravel test email from the command line
- Mail – Laravel – The PHP Framework For Web Artisans
- How to test Laravel notification e-mail contents
- Testing Laravel emails
- Login to SSH with root privilege.
- Go to the laravel folder and run
php artisan tinker
- Now use the Mail facade to send a quick test email. Make sure to change your email. Replace myemailaddress@gmail.com with yours.
Mail::raw('Hello Laravel World!', function($msg) {$msg->to('myemailaddress@gmail.com')->subject('Laravel Test Email'); });
- Its done! Check your email inbox.