⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
crm.dev-unit.com
/
app
/
Mail
/
View File Name :
MarkdownMail.php
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class MarkdownMail extends Mailable { use Queueable, SerializesModels; public $data; /** * Create a new message instance. * * @param string $view * @param string $subject * @param array $data * @return void */ public function __construct($view, $subject, $data = []) { $this->data = $data; $this->view = $view; $this->subject = $subject; } /** * Build the message. * * @return $this */ public function build() { $mail = $this->subject($this->subject) ->markdown($this->view) ->with($this->data); if (isset($this->data['attachments'])) { $mail->attach($this->data['attachments']); } return $mail; } }