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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
tinkerwell
Andras Bacsai0a83ed82fa05
diff --git a/.tinkerwell/snippets/SendEmail.php b/.tinkerwell/snippets/SendEmail.phpnew file mode 100644index 0000000000..2d08a87447--- /dev/null+++ b/.tinkerwell/snippets/SendEmail.php@@ -0,0 +1,27 @@+<?php+/**+ * @label Send Email+ * @description Send email to all users+ */++use Illuminate\Notifications\Messages\MailMessage;++set_transanctional_email_settings();++$users = User::all();+foreach ($users as $user) {+ Mail::send([], [], function ($message) use ($user) {+ $message+ ->to($user->email)+ ->subject("Testing")+ ->text(+ <<<EOF+Hello,++Welcome to Coolify Cloud.+Here is your user id: $user->id++EOF+ );+ });+}