⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.216
Server IP:
65.21.180.239
Server:
Linux gowhm.eplangoweb.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.0.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
eplangoweb
/
public_html
/
app
/
Mail
/
Edit File: OrderPackage.php
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Queue\ShouldQueue; class OrderPackage extends Mailable { use Queueable, SerializesModels; public $sender; public $subject; public $fields; public $package; public $fileName; /** * Create a new message instance. * * @return void */ public function __construct($from, $subject, $fields, $package, $fileName) { $this->sender = $from; $this->subject = $subject; $this->fields = $fields; $this->package = $package; $this->fileName = $fileName; } /** * Build the message. * * @return $this */ public function build() { return $this->from($this->sender) ->subject($this->subject) ->view('mail.package') ->attach(public_path('assets/front/invoices/' . $this->fileName)); } }
Simpan