1<?php
2namespace App\Notifications;
3use Illuminate\Bus\Queueable;
4use Illuminate\Notifications\Notification;
5use Illuminate\Contracts\Queue\ShouldQueue;
6use Illuminate\Notifications\Messages\MailMessage;
7use Illuminate\Support\Carbon;
8use Illuminate\Support\Facades\URL;
9use Illuminate\Support\Facades\Lang;
10use Illuminate\Auth\Notifications\VerifyEmail as VerifyEmailBase;
11
12class VerifyEmail extends VerifyEmailBase
13{
14// use Queueable;
15
16 // change as you want
17 public function toMail($notifiable)
18 {
19 if (static::$toMailCallback) {
20 return call_user_func(static::$toMailCallback, $notifiable);
21 }
22 return (new MailMessage)
23 ->subject(Lang::getFromJson('Verify Email Address'))
24 ->line(Lang::getFromJson('Please click the button below to verify your email address.'))
25 ->action(
26 Lang::getFromJson('Verify Email Address'),
27 $this->verificationUrl($notifiable)
28 )
29 ->line(Lang::getFromJson('If you did not create an account, no further action is required.'));
30 }
31}