Last active
October 29, 2025 12:20
-
-
Save Yigaue/6d7c58af0fa22557ad4b331e4f641e26 to your computer and use it in GitHub Desktop.
Test SMTP on Laravel Tinker
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
| \Illuminate\Support\Facades\Mail::raw('Tinker test', fn($msg) => $msg->to('you@example.com')->subject('Tinker SMTP')); | |
| \Illuminate\Support\Facades\Mail::html('<p>Hello, your password was reset. Here is your new password: 0o9293843743</p>', fn($msg) => $msg->to('mail@example.com')->subject('Password Reset')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment