芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/myvyralapp.com/bck/app/Notifications/User/Auth/SendVerifyCode.php
email = $email; $this->code = $code; } /** * Get the notification's delivery channels. * * @param mixed $notifiable * @return array */ public function via($notifiable) { return ['mail']; } /** * Get the mail representation of the notification. * * @param mixed $notifiable * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) { $code = $this->code; $username = explode('@',$this->email); return (new MailMessage) ->greeting("Hello ".@$username[0]." !") ->subject("Verification Code ( Register )") ->line('You are trying to verify code for register.') ->line("Here is your OTP: " . $code) ->line('Thank you for using our application!'); } /** * Get the array representation of the notification. * * @param mixed $notifiable * @return array */ public function toArray($notifiable) { return [ // ]; } }