Send a Test Email in Laravel

bmckay959 Avatar

Want to send a quick email to make sure your configurations and mailer are setup correctly? You can do this easily with Tinker.

php artisan tinker
Mail::raw('Hello World', function($msg) {$msg->to('')->subject('Hello World'); });

It’s that easy. No mailer templates needed.

Leave a Reply

Blog at

%d bloggers like this: