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 testemail command

Andras Bacsaib17c09f7a748
diff --git a/app/Console/Commands/TestEmail.php b/app/Console/Commands/TestEmail.php
index e876b62a0e..50312d553b 100644
--- a/app/Console/Commands/TestEmail.php
+++ b/app/Console/Commands/TestEmail.php
@@ -31,7 +31,7 @@ class TestEmail extends Command
*
* @var string
*/
- protected $signature = 'email:test';
+ protected $signature = 'email:test {to}';
/**
* The console command description.
@@ -176,7 +176,7 @@ class TestEmail extends Command
'Test Email',
)
+ ->to($this->argument('to') ?? '[email protected]')
->subject($this->mail->subject)
->html((string)$this->mail->render())
);