Lance Pioch deb6603840 Revert "Add concat_space rule"
This reverts commit 96acd268bee7005fe1691b572a4674575604d437.
2024-10-19 21:14:41 -04:00

28 lines
607 B
PHP

<?php
namespace App\Notifications;
use App\Models\User;
use Illuminate\Notifications\Notification;
use Illuminate\Notifications\Messages\MailMessage;
class MailTested extends Notification
{
public function __construct(private User $user)
{
}
public function via(): array
{
return ['mail'];
}
public function toMail(): MailMessage
{
return (new MailMessage())
->subject('Panel Test Message')
->greeting('Hello ' . $this->user->name . '!')
->line('This is a test of the Panel mail system. You\'re good to go!');
}
}