BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
www
/
app.imagivibe.com
/
app
/
Mail
📤 Upload
📝 New File
📁 New Folder
Close
Editing: SendEmail.php
<?php namespace App\Mail; use App\Models\Setting; 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 SendEmail extends Mailable implements ShouldQueue { use Queueable; use SerializesModels; /** * Create a new message instance. */ public function __construct(public array $user, public Setting $settings, public $template) { // } /** * Get the message envelope. */ public function envelope(): Envelope { $template = $this->template; return new Envelope( subject: $template->subject, ); } /** * Get the message content definition. */ public function content(): Content { return new Content( view: 'mail.send-email', ); } /** * Get the attachments for the message. * * @return array<int, \Illuminate\Mail\Mailables\Attachment> */ public function attachments(): array { return []; } }
Save
Cancel