presseportale/app/Mail/GoLivePasswordReset.php
Kevin Adametz 5b8bdf4182
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run
12-05-2026 Frontend dev
2026-05-12 18:32:33 +02:00

35 lines
796 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace App\Mail;
use App\Models\User;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Mail\Mailables\Content;
use Illuminate\Mail\Mailables\Envelope;
use Illuminate\Queue\SerializesModels;
class GoLivePasswordReset extends Mailable
{
use Queueable, SerializesModels;
public function __construct(
public readonly User $user,
public readonly string $resetUrl,
public readonly int $expiresInMinutes = 60,
) {}
public function envelope(): Envelope
{
return new Envelope(
subject: 'Bitte Passwort setzen '.config('app.name'),
);
}
public function content(): Content
{
return new Content(
view: 'emails.auth.go-live-password-reset',
);
}
}