🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:SystemNotification.php
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable; use Illuminate\Mail\Mailables\Content; use Illuminate\Mail\Mailables\Envelope; use Illuminate\Queue\SerializesModels; class SystemNotification extends Mailable { use Queueable, SerializesModels; public $title; public $messageBody; public $actionText; public $actionUrl; /** * Create a new message instance. */ public function __construct($title, $messageBody, $actionText = null, $actionUrl = null) { $this->title = $title; $this->messageBody = $messageBody; $this->actionText = $actionText; $this->actionUrl = $actionUrl; } /** * Get the message envelope. */ public function envelope(): Envelope { return new Envelope( subject: $this->title, ); } /** * Get the message content definition. */ public function content(): Content { return new Content( view: 'emails.system_notification', ); } /** * Get the attachments for the message. * * @return array<int, \Illuminate\Mail\Mailables\Attachment> */ public function attachments(): array { return []; } }
Save Changes
Cancel
Create New File
Create New Folder