One Hat Cyber Team
Your IP :
172.69.58.131
Server IP :
188.114.96.7
Server :
Linux advantage-project 5.14.0-503.26.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 19 16:28:19 UTC 2025 x86_64
Server Software :
Apache/2.4.62 (Rocky Linux) OpenSSL/3.2.2
PHP Version :
8.3.17
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
html
/
app
/
Mail
/
Edit File:
Contact.php
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable; use Illuminate\Mail\Mailables\Address; use Illuminate\Mail\Mailables\Content; use Illuminate\Mail\Mailables\Envelope; use Illuminate\Queue\SerializesModels; class Contact extends Mailable { use Queueable, SerializesModels; private mixed $mailData; /** * Create a new message instance. */ public function __construct($mailData) { $this->mailData = $mailData; } /** * Get the message envelope. * * * https://laravel.com/docs/10.x/mail * */ public function envelope(): Envelope { return new Envelope( to: new Address('advantageprojecteu@gmail.com', 'TVF-Advantage Project'), subject: 'Contact', ); } /** * Get the message content definition. */ public function content(): Content { return new Content( view: 'contact.mailtemplate', with: [ 'data' => $this->mailData ] ); } /** * Get the attachments for the message. * * @return array<int, \Illuminate\Mail\Mailables\Attachment> */ public function attachments(): array { return []; } }
Simpan