22 lines
582 B
PHP
22 lines
582 B
PHP
<?php
|
|
|
|
namespace App\Notifications;
|
|
|
|
use Illuminate\Auth\Notifications\VerifyEmail;
|
|
use Illuminate\Notifications\Messages\MailMessage;
|
|
|
|
class VerifyEmailNotification extends VerifyEmail
|
|
{
|
|
public function toMail($notifiable): MailMessage
|
|
{
|
|
$verificationUrl = $this->verificationUrl($notifiable);
|
|
|
|
return (new MailMessage)
|
|
->subject(__('Verify Your Email - Whisper Money'))
|
|
->markdown('mail.verify-email', [
|
|
'userName' => $notifiable->name,
|
|
'verificationUrl' => $verificationUrl,
|
|
]);
|
|
}
|
|
}
|