update testemail command
This commit is contained in:
parent
f6c3fe7888
commit
b17c09f7a7
@ -31,7 +31,7 @@ class TestEmail extends Command
|
|||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $signature = 'email:test';
|
protected $signature = 'email:test {to}';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The console command description.
|
* The console command description.
|
||||||
@ -176,7 +176,7 @@ class TestEmail extends Command
|
|||||||
'internal@example.com',
|
'internal@example.com',
|
||||||
'Test Email',
|
'Test Email',
|
||||||
)
|
)
|
||||||
->to('test@example.com')
|
->to($this->argument('to') ?? 'test@example.com')
|
||||||
->subject($this->mail->subject)
|
->subject($this->mail->subject)
|
||||||
->html((string)$this->mail->render())
|
->html((string)$this->mail->render())
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user