23-01-2026
This commit is contained in:
parent
07959c0ba2
commit
854ce02bf6
166 changed files with 32909 additions and 1262 deletions
29
app/Notifications/CustomVerifyEmailNotification.php
Normal file
29
app/Notifications/CustomVerifyEmailNotification.php
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
namespace App\Notifications;
|
||||
|
||||
use Illuminate\Auth\Notifications\VerifyEmail;
|
||||
use Illuminate\Notifications\Messages\MailMessage;
|
||||
use Illuminate\Support\Facades\URL;
|
||||
|
||||
class CustomVerifyEmailNotification extends VerifyEmail
|
||||
{
|
||||
/**
|
||||
* Get the verify email notification mail message for the given URL.
|
||||
*
|
||||
* @param string $url
|
||||
* @return \Illuminate\Notifications\Messages\MailMessage
|
||||
*/
|
||||
protected function buildMailMessage($url)
|
||||
{
|
||||
return (new MailMessage)
|
||||
->subject('E-Mail-Adresse bestätigen - ' . config('app.name'))
|
||||
->greeting('Willkommen bei ' . config('app.name') . '!')
|
||||
->line('Vielen Dank für Ihre Registrierung!')
|
||||
->line('Bitte bestätigen Sie Ihre E-Mail-Adresse, indem Sie auf den folgenden Button klicken:')
|
||||
->action('E-Mail-Adresse bestätigen', $url)
|
||||
->line('Dieser Bestätigungslink läuft in **60 Minuten** ab.')
|
||||
->line('Falls Sie kein Konto bei uns erstellt haben, ignorieren Sie bitte diese E-Mail.')
|
||||
->salutation('Mit freundlichen Grüßen, ' . PHP_EOL . 'Ihr **' . config('app.name') . '** Team');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue