Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

update

Andras Bacsaid31683df6173
diff --git a/.tinkerwell/snippets/SendEmail.php b/.tinkerwell/snippets/SendEmail.php
index 2d08a87447..3b752bc049 100644
--- a/.tinkerwell/snippets/SendEmail.php
+++ b/.tinkerwell/snippets/SendEmail.php
@@ -4,11 +4,12 @@
* @description Send email to all users
*/
-use Illuminate\Notifications\Messages\MailMessage;
+use App\Models\User;
+use Illuminate\Support\Facades\Mail;
set_transanctional_email_settings();
-$users = User::all();
+$users = User::whereEmail('[email protected]');
foreach ($users as $user) {
Mail::send([], [], function ($message) use ($user) {
$message