Move notification email of server created into the event listener
This commit is contained in:
parent
b8271cf8f6
commit
96e50506a1
3 changed files with 20 additions and 18 deletions
|
@ -66,12 +66,12 @@ class ServerCreated extends Notification implements ShouldQueue
|
|||
public function toMail($notifiable)
|
||||
{
|
||||
return (new MailMessage)
|
||||
->line('A new server as been assigned to your account.')
|
||||
->line('Server Name: ' . $this->server->name)
|
||||
->line('Memory: ' . $this->server->memory . ' MB')
|
||||
->line('Node: ' . $this->server->node)
|
||||
->line('Type: ' . $this->server->service . ' - ' . $this->server->option)
|
||||
->action('Peel Off the Protective Wrap', route('server.index', $this->server->uuidShort))
|
||||
->line('Please let us know if you have any additional questions or concerns!');
|
||||
->line('A new server as been assigned to your account.')
|
||||
->line('Server Name: ' . $this->server->name)
|
||||
->line('Memory: ' . $this->server->memory . ' MB')
|
||||
->line('Node: ' . $this->server->node)
|
||||
->line('Type: ' . $this->server->service . ' - ' . $this->server->option)
|
||||
->action('Peel Off the Protective Wrap', route('server.index', $this->server->uuidShort))
|
||||
->line('Please let us know if you have any additional questions or concerns!');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue