Forked from emmanuelbarturen/testing mail in droplet with laravel
Created
November 11, 2018 13:46
-
-
Save godfreymakori/1a9d2cb1c371b5a18a591ad3aebbf80d to your computer and use it in GitHub Desktop.
send email from artisan with tinker of laravel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SSH into droplet | |
# go to project | |
$ php artisan tinker | |
$ Mail::send('errors.401', [], function ($message) { $message->to('[email protected]')->subject('this works!'); }); | |
# check your mailbox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment