Menu

Close
Subscribe
  Subscribe

Laravel mailing from terminal

Mar 1, 2019 #laravel

Run:

php artisan tinker

and then:

Mail::send('emails.test', [], function($message) { $message->to('youremail@domain.com')->subject('Testing email'); });

Change emails.test to point to a blade that works and populate the email you want to test.

Source: https://www.gregoryvarghese.com/tag/email/

Share this post

Twitter Facebook Pinterest Google+

Expose jupyter notebook

Sonic Candle