*/
public function via(object $notifiable): array
{
return ['mail'];
}
/**
* Get the mail representation of the notification.
*/
public function toMail(object $notifiable): MailMessage
{
return (new MailMessage)
->subject('Benachrichtigung zum Zurücksetzen des Passworts')
->greeting('Hallo '.$notifiable->name)
->line('Sie erhalten diese E-Mail, weil wir eine Anfrage zum Zurücksetzen des Passworts für Ihr Konto erhalten haben.')
->action('Passwort Zurücksetzen', $this->resetUrl($notifiable))
->line('Dieser Link zum Zurücksetzen des Passworts läuft in 60 Minuten ab.')
->line('Wenn Sie keine Passwortzurücksetzung beantragt haben, sind keine weiteren Maßnahmen erforderlich.')
->salutation('Mit freundlichen Grüßen
Nutzwerte Support Team');
}
protected function resetUrl(mixed $notifiable): string
{
return Filament::getResetPasswordUrl($this->token, $notifiable);
}
/**
* Get the array representation of the notification.
*
*
* @return array
*/
public function toArray(object $notifiable): array
{
return [
//
];
}
}