⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
wearecrazy
/
public_html
/
@core
/
app
/
Mail
/
View File Name :
RequestQuote.php
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class RequestQuote extends Mailable { use Queueable, SerializesModels; public $data; public $attachment; /** * Create a new message instance. * * @return void */ public function __construct($data,$attachment_list) { $this->data = $data; $this->attachment = $attachment_list; } /** * Build the message. * * @return $this */ public function build() { $mail = $this->from(get_static_option('site_global_email'),get_static_option('site_'.get_default_language().'_title')) ->subject('This Quote Message Send From '. get_static_option('site_'.get_default_language().'_title') ) ->view('mail.request-quote'); if (!empty($this->attachment)){ foreach ($this->attachment as $field_name => $attached_file){ if (file_exists($attached_file)){ $mail->attach($attached_file); } } } return $mail; } }