update testemail command
This commit is contained in:
parent
f6c3fe7888
commit
b17c09f7a7
@ -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 @@ private function sendEmail()
|
||||
'internal@example.com',
|
||||
'Test Email',
|
||||
)
|
||||
->to('test@example.com')
|
||||
->to($this->argument('to') ?? 'test@example.com')
|
||||
->subject($this->mail->subject)
|
||||
->html((string)$this->mail->render())
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user