File "SupportReceived.php"
Full Path: /home/isoftco/public_html/hrm/app/Mail/SupportReceived.php
File size: 868 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace App\Mail;
use App\Models\Setting;
use App\Traits\Settings;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;
class SupportReceived extends BaseMail
{
public $data;
public $setting;
/**
* Create a new message instance.
*
* @return void
*/
public function __construct($data)
{
parent::__construct();
$this->setting = Setting::first();
$this->data = $data;
}
/**
* Build the message.
*
* @return $this
*/
public function build()
{
return $this->subject(__('email.thankYouForContact'))
->with(['logo_image_url' => $this->setting->logo_image_url])
->view('emails.site.support_received')
->with($this->data);
}
}