Skip to content

Posts › Development

Development

Sending a test email from a Laravel application

Learn how to send a test email from a Laravel app

1 min read

Need to test your email in settings in a Laravel app?

Just try this quick snippet!

Start a tinker session!

shell
 1php artisan tinker

Then use the Mail facade to send a raw email message:

php
 1Mail::raw('It works!', function($msg) {$msg->to('your@email.com')->subject('Test Email'); });