Files
Global-Jain/app/Notifications/Auth/VerifyEmail.php
2025-11-05 10:37:10 +05:30

26 lines
728 B
PHP

<?php
namespace App\Notifications\Auth;
use Illuminate\Bus\Queueable;
use Illuminate\Auth\Notifications\VerifyEmail as VerifyEmailNotification;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
class VerifyEmail extends VerifyEmailNotification implements ShouldQueue
{
use Queueable;
/**
* Build the mail representation of the notification.
*
* @param mixed $notifiable
* @return \Illuminate\Notifications\Messages\MailMessage
*/
public function toMail($notifiable)
{
$verificationUrl = $this->verificationUrl($notifiable);
return (new MailMessage)->view('admin.mails.user.verify', ['url' => $verificationUrl]);
}
}