Server : LiteSpeed System : Linux server335.web-hosting.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : cardxfeb ( 2452) PHP Version : 8.1.34 Disable Function : NONE Directory : /home/cardxfeb/public_html/app/Mail/ |
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class ForgetPasswordMail extends Mailable
{
use Queueable, SerializesModels;
/**
* @var array
*/
private $data;
/**
* Create a new message instance.
*
* @return void
*/
public function __construct(string $view, string $subject, array $data = [])
{
$this->view = $view;
$this->subject = $subject;
$this->data = $data;
}
/**
* Build the message.
*/
public function build(): static
{
return $this->subject($this->subject)
->markdown($this->view)
->with($this->data);
}
}